Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 215.2 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.764/2.764, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 64.69 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3076, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003047/0.3106, allocations: 1.634 MB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1699/0.4805, allocations: 133.1 MB / 1.416 GB, free: 3.473 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.4807, allocations: 3.938 kB / 1.416 GB, free: 3.469 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.4809, allocations: 23.8 kB / 1.416 GB, free: 3.445 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.4812, allocations: 39.72 kB / 1.416 GB, free: 3.406 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.4817, allocations: 151.4 kB / 1.416 GB, free: 3.258 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.4819, allocations: 127.5 kB / 1.416 GB, free: 3.133 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.4821, allocations: 25.09 kB / 1.416 GB, free: 3.109 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.4836, allocations: 184 kB / 1.416 GB, free: 2.957 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.4837, allocations: 43.78 kB / 1.416 GB, free: 2.914 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.4837, allocations: 8 kB / 1.416 GB, free: 2.906 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004062/0.4841, allocations: 179.6 kB / 1.416 GB, free: 2.73 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.4842, allocations: 27.92 kB / 1.416 GB, free: 2.703 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.4842, allocations: 39.78 kB / 1.416 GB, free: 2.664 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.4847, allocations: 187.3 kB / 1.417 GB, free: 2.48 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.4847, allocations: 4 kB / 1.417 GB, free: 2.477 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.654e-06/0.4847, allocations: 0 / 1.417 GB, free: 2.477 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.4847, allocations: 0 / 1.417 GB, free: 2.477 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007232/0.4854, allocations: 369.5 kB / 1.417 GB, free: 2.086 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4854, allocations: 8.031 kB / 1.417 GB, free: 2.078 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.466e-05/0.4855, allocations: 8.125 kB / 1.417 GB, free: 2.07 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.4855, allocations: 46.48 kB / 1.417 GB, free: 2.016 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.4866, allocations: 83.81 kB / 1.417 GB, free: 1.934 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.4869, allocations: 159 kB / 1.417 GB, free: 1.754 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.4869, allocations: 8 kB / 1.417 GB, free: 1.746 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.4869, allocations: 4 kB / 1.417 GB, free: 1.742 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.4874, allocations: 133.6 kB / 1.417 GB, free: 1.605 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4874, allocations: 3.938 kB / 1.417 GB, free: 1.602 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.4874, allocations: 7.938 kB / 1.417 GB, free: 1.594 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4875, allocations: 8 kB / 1.417 GB, free: 1.586 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.488, allocations: 135.8 kB / 1.418 GB, free: 1.453 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008414/0.4889, allocations: 363.6 kB / 1.418 GB, free: 1.055 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/0.4896, allocations: 170.6 kB / 1.418 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.4898, allocations: 72.8 kB / 1.418 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.4898, allocations: 0 / 1.418 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.4899, allocations: 38.56 kB / 1.418 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.4899, allocations: 0 / 1.418 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.0008235/0.4907, allocations: 217.4 kB / 1.418 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.4908, allocations: 51.41 kB / 1.418 GB, free: 488 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.4909, allocations: 152.7 kB / 1.419 GB, free: 324 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.491, allocations: 25.7 kB / 1.419 GB, free: 292 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.491, allocations: 108.1 kB / 1.419 GB, free: 180 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.4911, allocations: 23.94 kB / 1.419 GB, free: 156 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.4911, allocations: 25.7 kB / 1.419 GB, free: 124 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4913, allocations: 326.8 kB / 1.419 GB, free: 15.79 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.4916, allocations: 55.94 kB / 1.419 GB, free: 15.74 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.4918, allocations: 133.9 kB / 1.419 GB, free: 15.59 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.4923, allocations: 116.7 kB / 1.419 GB, free: 15.47 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4923, allocations: 0 / 1.419 GB, free: 15.47 MB / 1.123 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005255/0.4928, allocations: 173.4 kB / 1.42 GB, free: 15.29 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4928, allocations: 4 kB / 1.42 GB, free: 15.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.4928, allocations: 0 / 1.42 GB, free: 15.29 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4928, allocations: 0 / 1.42 GB, free: 15.29 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.493, allocations: 27.97 kB / 1.42 GB, free: 15.26 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.493, allocations: 0 / 1.42 GB, free: 15.26 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.4932, allocations: 27.86 kB / 1.42 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.4932, allocations: 7.984 kB / 1.42 GB, free: 15.23 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.4934, allocations: 121.8 kB / 1.42 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.4934, allocations: 11.91 kB / 1.42 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.4935, allocations: 16.72 kB / 1.42 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4935, allocations: 3.984 kB / 1.42 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4935, allocations: 0 / 1.42 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.4935, allocations: 7.938 kB / 1.42 GB, free: 15.06 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009266/0.4944, allocations: 410 kB / 1.42 GB, free: 14.61 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4944, allocations: 0 / 1.42 GB, free: 14.61 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.4946, allocations: 31.97 kB / 1.42 GB, free: 14.58 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4946, allocations: 7.938 kB / 1.42 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.4946, allocations: 7.922 kB / 1.42 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4946, allocations: 0 / 1.42 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4946, allocations: 4.078 kB / 1.42 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.4952, allocations: 255.3 kB / 1.42 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.4952, allocations: 19.95 kB / 1.42 GB, free: 14.27 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.4953, allocations: 3.938 kB / 1.42 GB, free: 14.27 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.4954, allocations: 11.98 kB / 1.42 GB, free: 14.26 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.4955, allocations: 11.98 kB / 1.42 GB, free: 14.25 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.4955, allocations: 0 / 1.42 GB, free: 14.25 MB / 1.123 GB Notification: Performance of sorting global known variables: time 9.775e-05/0.4956, allocations: 111.9 kB / 1.421 GB, free: 14.14 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.4956, allocations: 0 / 1.421 GB, free: 14.14 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002787/0.4959, allocations: 31.94 kB / 1.421 GB, free: 14.11 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009189/0.4968, allocations: 0.8021 MB / 1.421 GB, free: 13.28 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.4973, allocations: 127.8 kB / 1.422 GB, free: 13.15 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4973, allocations: 4 kB / 1.422 GB, free: 13.15 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.4975, allocations: 63.88 kB / 1.422 GB, free: 13.09 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.4979, allocations: 39.86 kB / 1.422 GB, free: 13.05 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.5008, allocations: 1.731 MB / 1.423 GB, free: 11.23 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.738e-05/0.5009, allocations: 92.14 kB / 1.423 GB, free: 11.12 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.501, allocations: 32.42 kB / 1.423 GB, free: 11.09 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.011e-05/0.5011, allocations: 31.42 kB / 1.423 GB, free: 11.06 MB / 1.123 GB Notification: Performance of SimCode: time 7.92e-07/0.5011, allocations: 0 / 1.423 GB, free: 11.06 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.5263, allocations: 3.726 MB / 1.427 GB, free: 7.535 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.34, allocations: 17.48 kB / 1.427 GB, free: 7.52 MB / 1.123 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.92430559801869] Failed to read output from testmodel.py, exit status != 0: 13.0234091039747 12.528811618 12.039907585 Calling exit ...