Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001282/0.001282, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.001425/0.001425, allocations: 212 kB / 19.43 MB, free: 3.637 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.473/1.473, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002479/0.002479, allocations: 297.2 kB / 309.1 MB, free: 3.945 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.266/1.266, allocations: 180.9 MB / 0.5333 GB, free: 13.72 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002802/0.002802, allocations: 107.7 kB / 0.7342 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.196, allocations: 95.34 MB / 0.8273 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002892/0.1989, allocations: 1.665 MB / 0.829 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6705/0.8694, allocations: 154.8 MB / 0.9802 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.8695, allocations: 1.719 kB / 0.9802 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.8697, allocations: 17.38 kB / 0.9802 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.87, allocations: 50.03 kB / 0.9802 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.8704, allocations: 147.6 kB / 0.9804 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.8707, allocations: 119.1 kB / 0.9805 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.8708, allocations: 22.67 kB / 0.9805 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.8722, allocations: 182.2 kB / 0.9807 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.8722, allocations: 43.09 kB / 0.9807 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.8723, allocations: 7.281 kB / 0.9807 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.8727, allocations: 188.6 kB / 0.9809 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.8727, allocations: 22.75 kB / 0.9809 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.8728, allocations: 46.08 kB / 0.981 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.8731, allocations: 192.8 kB / 0.9812 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8731, allocations: 5.047 kB / 0.9812 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8731, allocations: 0 / 0.9812 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.8731, allocations: 2.031 kB / 0.9812 GB, free: 3.348 MB / 0.7169 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.0008924/0.874, allocations: 449.3 kB / 0.9816 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.8741, allocations: 8.938 kB / 0.9816 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.8741, allocations: 42 kB / 0.9817 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.8751, allocations: 91.92 kB / 0.9817 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.8754, allocations: 206.7 kB / 0.9819 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.8754, allocations: 6.688 kB / 0.9819 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.8755, allocations: 6.812 kB / 0.982 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.876, allocations: 142.1 kB / 0.9821 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.876, allocations: 1.031 kB / 0.9821 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.876, allocations: 0.875 kB / 0.9821 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.876, allocations: 1.938 kB / 0.9821 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.8765, allocations: 143.9 kB / 0.9822 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008415/0.8774, allocations: 413.7 kB / 0.9826 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.8782, allocations: 244.6 kB / 0.9829 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.8784, allocations: 72.02 kB / 0.9829 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.8785, allocations: 2.094 kB / 0.9829 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.8785, allocations: 37.39 kB / 0.983 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.8785, allocations: 0 / 0.983 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0008661/0.8794, allocations: 219.4 kB / 0.9832 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.8794, allocations: 54.06 kB / 0.9832 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.8796, allocations: 143.5 kB / 0.9834 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.8796, allocations: 29.98 kB / 0.9834 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.8797, allocations: 105.4 kB / 0.9835 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.8797, allocations: 27.27 kB / 0.9835 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.8797, allocations: 26.48 kB / 0.9835 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8799, allocations: 325.9 kB / 0.9839 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.8801, allocations: 53.94 kB / 0.9839 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.8804, allocations: 76.67 kB / 0.984 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.8808, allocations: 125.5 kB / 0.9841 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8808, allocations: 1.938 kB / 0.9841 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005815/0.8814, allocations: 155.6 kB / 0.9842 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.8815, allocations: 6.266 kB / 0.9843 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8815, allocations: 0.8438 kB / 0.9843 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.8815, allocations: 2.312 kB / 0.9843 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.8817, allocations: 32.44 kB / 0.9843 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.8817, allocations: 0.875 kB / 0.9843 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.8819, allocations: 22.16 kB / 0.9843 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.8819, allocations: 4.031 kB / 0.9843 GB, free: 17.47 MB / 0.7325 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.0001141/0.882, allocations: 124 kB / 0.9844 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.882, allocations: 10.39 kB / 0.9844 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.8821, allocations: 17.38 kB / 0.9845 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.8821, allocations: 1.969 kB / 0.9845 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8821, allocations: 0 / 0.9845 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.8821, allocations: 1.516 kB / 0.9845 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.883, allocations: 471 kB / 0.9849 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.883, allocations: 1.859 kB / 0.9849 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.8832, allocations: 31.89 kB / 0.9849 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8832, allocations: 0.8438 kB / 0.9849 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.8833, allocations: 7.375 kB / 0.985 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8833, allocations: 1.344 kB / 0.985 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8833, allocations: 2.812 kB / 0.985 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005839/0.8838, allocations: 265.3 kB / 0.9852 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.8839, allocations: 96.98 kB / 0.9853 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.8839, allocations: 1.125 kB / 0.9853 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.8841, allocations: 15.5 kB / 0.9853 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.8842, allocations: 13.19 kB / 0.9853 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.8842, allocations: 11.25 kB / 0.9853 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.771e-05/0.8843, allocations: 114.9 kB / 0.9854 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8843, allocations: 2.141 kB / 0.9855 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002978/0.8846, allocations: 30.38 kB / 0.9855 GB, free: 16.7 MB / 0.7325 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.0009855/0.8856, allocations: 0.8017 MB / 0.9863 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005286/0.8861, allocations: 124.3 kB / 0.9864 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.8861, allocations: 0.875 kB / 0.9864 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.8863, allocations: 65.7 kB / 0.9864 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.8867, allocations: 30.11 kB / 0.9865 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.8893, allocations: 1.747 MB / 0.9882 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.8896, allocations: 0.7025 MB / 0.9889 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000132/0.8897, allocations: 22.81 kB / 0.9889 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.8898, allocations: 31.47 kB / 0.9889 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/0.8898, allocations: 0 / 0.9889 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.9145, allocations: 3.407 MB / 0.9922 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.926, allocations: 8.188 kB / 0.9923 GB, free: 13.77 MB / 0.7325 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.311176897957921] Failed to read output from testmodel.py, exit status != 0: 8.99773357482627 9.022578285 8.145497515 Calling exit ...