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.001336/0.001336, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00167/0.00167, allocations: 220.7 kB / 23.05 MB, free: 5.074 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.867/2.867, allocations: 476.7 MB / 0.7714 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 176] 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.002065/0.002065, allocations: 62.36 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4179, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00373/0.4216, allocations: 1.679 MB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2118/0.6334, allocations: 154.9 MB / 1.437 GB, free: 14.6 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.6336, allocations: 0 / 1.437 GB, free: 14.6 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.6337, allocations: 19.8 kB / 1.437 GB, free: 14.58 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.634, allocations: 59.58 kB / 1.437 GB, free: 14.52 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.6345, allocations: 143.4 kB / 1.437 GB, free: 14.38 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.6347, allocations: 119.6 kB / 1.437 GB, free: 14.27 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.6349, allocations: 33.5 kB / 1.437 GB, free: 14.23 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.6363, allocations: 183.2 kB / 1.438 GB, free: 14.08 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.6363, allocations: 47.78 kB / 1.438 GB, free: 14.03 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.6364, allocations: 8 kB / 1.438 GB, free: 14.02 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004478/0.6368, allocations: 187.6 kB / 1.438 GB, free: 13.84 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.6369, allocations: 23.86 kB / 1.438 GB, free: 13.82 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.6369, allocations: 43.73 kB / 1.438 GB, free: 13.77 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.6373, allocations: 191.3 kB / 1.438 GB, free: 13.59 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6373, allocations: 0 / 1.438 GB, free: 13.59 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6373, allocations: 0 / 1.438 GB, free: 13.59 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.6373, allocations: 0 / 1.438 GB, free: 13.59 MB / 1.139 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.0007058/0.638, allocations: 383.5 kB / 1.438 GB, free: 13.18 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.638, allocations: 12.02 kB / 1.438 GB, free: 13.17 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.554e-05/0.6381, allocations: 8.125 kB / 1.438 GB, free: 13.16 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.6381, allocations: 38.5 kB / 1.438 GB, free: 13.12 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009787/0.6391, allocations: 91.8 kB / 1.439 GB, free: 13.03 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.6393, allocations: 141 kB / 1.439 GB, free: 12.86 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.6393, allocations: 8 kB / 1.439 GB, free: 12.86 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.6394, allocations: 4 kB / 1.439 GB, free: 12.85 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.6398, allocations: 141.5 kB / 1.439 GB, free: 12.71 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6398, allocations: 3.938 kB / 1.439 GB, free: 12.7 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.6399, allocations: 3.938 kB / 1.439 GB, free: 12.7 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.6399, allocations: 4 kB / 1.439 GB, free: 12.7 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006279/0.6405, allocations: 135.9 kB / 1.439 GB, free: 12.56 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/0.6414, allocations: 387.5 kB / 1.439 GB, free: 12.14 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.6422, allocations: 174.6 kB / 1.44 GB, free: 11.96 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.6425, allocations: 72.8 kB / 1.44 GB, free: 11.89 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.6426, allocations: 0 / 1.44 GB, free: 11.89 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.6426, allocations: 30.56 kB / 1.44 GB, free: 11.85 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.6426, allocations: 0 / 1.44 GB, free: 11.85 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.0009193/0.6435, allocations: 217.4 kB / 1.44 GB, free: 11.63 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.6436, allocations: 55.41 kB / 1.44 GB, free: 11.56 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.6437, allocations: 152.5 kB / 1.44 GB, free: 11.4 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.6437, allocations: 25.7 kB / 1.44 GB, free: 11.37 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.6438, allocations: 104.1 kB / 1.44 GB, free: 11.27 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.6438, allocations: 27.89 kB / 1.44 GB, free: 11.24 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.6439, allocations: 25.7 kB / 1.44 GB, free: 11.21 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6441, allocations: 330.8 kB / 1.441 GB, free: 10.88 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.6443, allocations: 55.94 kB / 1.441 GB, free: 10.82 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.6446, allocations: 70.53 kB / 1.441 GB, free: 10.74 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.645, allocations: 124.7 kB / 1.441 GB, free: 10.62 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.645, allocations: 0 / 1.441 GB, free: 10.62 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000507/0.6455, allocations: 161.5 kB / 1.441 GB, free: 10.45 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.6455, allocations: 4 kB / 1.441 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6455, allocations: 4 kB / 1.441 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6456, allocations: 0 / 1.441 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.6458, allocations: 27.97 kB / 1.441 GB, free: 10.42 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.6458, allocations: 3.938 kB / 1.441 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.6459, allocations: 27.86 kB / 1.441 GB, free: 10.39 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.6459, allocations: 4.531 kB / 1.441 GB, free: 10.38 MB / 1.139 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.000137/0.6461, allocations: 129.8 kB / 1.441 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.6461, allocations: 11.91 kB / 1.441 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/0.6462, allocations: 12.72 kB / 1.441 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6462, allocations: 4 kB / 1.441 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.6462, allocations: 3.984 kB / 1.441 GB, free: 10.21 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.6462, allocations: 3.938 kB / 1.441 GB, free: 10.21 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008833/0.6471, allocations: 429.4 kB / 1.442 GB, free: 9.742 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6471, allocations: 0 / 1.442 GB, free: 9.742 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.6473, allocations: 35.94 kB / 1.442 GB, free: 9.707 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6473, allocations: 3.938 kB / 1.442 GB, free: 9.703 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.6473, allocations: 7.938 kB / 1.442 GB, free: 9.695 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.6473, allocations: 4.078 kB / 1.442 GB, free: 9.691 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6473, allocations: 3.984 kB / 1.442 GB, free: 9.688 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.6479, allocations: 255.3 kB / 1.442 GB, free: 9.422 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.6479, allocations: 11.95 kB / 1.442 GB, free: 9.41 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.6479, allocations: 11.94 kB / 1.442 GB, free: 9.398 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.6481, allocations: 15.97 kB / 1.442 GB, free: 9.383 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.6482, allocations: 3.984 kB / 1.442 GB, free: 9.379 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.6482, allocations: 4 kB / 1.442 GB, free: 9.375 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001128/0.6483, allocations: 116.3 kB / 1.442 GB, free: 9.262 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/0.6483, allocations: 0 / 1.442 GB, free: 9.262 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003002/0.6486, allocations: 27.94 kB / 1.442 GB, free: 9.234 MB / 1.139 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.001084/0.6497, allocations: 0.8098 MB / 1.443 GB, free: 8.398 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005396/0.6502, allocations: 123.8 kB / 1.443 GB, free: 8.277 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6502, allocations: 0 / 1.443 GB, free: 8.277 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.6505, allocations: 71.88 kB / 1.443 GB, free: 8.207 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.6508, allocations: 29.78 kB / 1.443 GB, free: 8.18 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.6537, allocations: 1.728 MB / 1.445 GB, free: 6.371 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.6541, allocations: 0.7002 MB / 1.445 GB, free: 5.645 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.6543, allocations: 24.42 kB / 1.445 GB, free: 5.621 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.241e-05/0.6544, allocations: 31.42 kB / 1.445 GB, free: 5.59 MB / 1.139 GB Notification: Performance of SimCode: time 8.12e-07/0.6544, allocations: 0 / 1.445 GB, free: 5.59 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.6796, allocations: 3.551 MB / 1.449 GB, free: 2.211 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.87, allocations: 16.55 kB / 1.449 GB, free: 2.199 MB / 1.139 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: 19.114712440990843] Failed to read output from testmodel.py, exit status != 0: 12.782509698998183 12.053602934 11.41307497 Calling exit ...