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.001234/0.001234, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001378/0.001378, allocations: 215 kB / 20.13 MB, free: 2.949 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.498/1.498, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002503/0.002503, allocations: 288.2 kB / 309.8 MB, free: 3.438 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.076/1.076, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",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.002825/0.002825, allocations: 100.1 kB / 0.7347 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6423/0.6451, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003263/0.6484, allocations: 1.677 MB / 0.8294 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2137/0.8621, allocations: 154.9 MB / 0.9806 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.8623, allocations: 0 / 0.9806 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.8625, allocations: 11.81 kB / 0.9806 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.8627, allocations: 47.69 kB / 0.9807 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.8632, allocations: 147.4 kB / 0.9808 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.8634, allocations: 127.6 kB / 0.9809 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.8635, allocations: 17.41 kB / 0.981 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.8649, allocations: 180.9 kB / 0.9811 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.865, allocations: 47.78 kB / 0.9812 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.865, allocations: 8 kB / 0.9812 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.8654, allocations: 187.6 kB / 0.9814 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.8654, allocations: 27.91 kB / 0.9814 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.8655, allocations: 43.73 kB / 0.9814 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.8659, allocations: 198.1 kB / 0.9816 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8659, allocations: 0 / 0.9816 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8659, allocations: 0 / 0.9816 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.8659, allocations: 0 / 0.9816 GB, free: 12.13 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.0006759/0.8665, allocations: 446.6 kB / 0.9821 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8666, allocations: 12.03 kB / 0.9821 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.825e-05/0.8666, allocations: 192 / 0.9821 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.8667, allocations: 50.5 kB / 0.9821 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00097/0.8676, allocations: 79.84 kB / 0.9822 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.8679, allocations: 216.5 kB / 0.9824 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.8679, allocations: 4 kB / 0.9824 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.8679, allocations: 12 kB / 0.9824 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.8684, allocations: 129.5 kB / 0.9825 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.8684, allocations: 0 / 0.9825 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.8684, allocations: 11.94 kB / 0.9825 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8684, allocations: 4 kB / 0.9825 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/0.869, allocations: 135.8 kB / 0.9827 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008329/0.8698, allocations: 416.6 kB / 0.9831 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.8706, allocations: 239.7 kB / 0.9833 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.8708, allocations: 76.78 kB / 0.9834 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.8708, allocations: 11.94 kB / 0.9834 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.8709, allocations: 34.5 kB / 0.9834 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.8709, allocations: 0 / 0.9834 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000842/0.8717, allocations: 213.4 kB / 0.9836 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.8718, allocations: 51.41 kB / 0.9837 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.8719, allocations: 151.5 kB / 0.9838 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.8719, allocations: 25.7 kB / 0.9838 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.872, allocations: 108.1 kB / 0.9839 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.872, allocations: 27.75 kB / 0.984 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.8721, allocations: 29.7 kB / 0.984 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8722, allocations: 322.8 kB / 0.9843 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.8725, allocations: 51.94 kB / 0.9844 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.8727, allocations: 82.45 kB / 0.9844 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.8731, allocations: 120.8 kB / 0.9846 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.8731, allocations: 0 / 0.9846 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000519/0.8737, allocations: 157.6 kB / 0.9847 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.8737, allocations: 11.94 kB / 0.9847 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8737, allocations: 0 / 0.9847 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.8737, allocations: 0 / 0.9847 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.8739, allocations: 31.97 kB / 0.9847 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.8739, allocations: 3.938 kB / 0.9847 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.8741, allocations: 27.88 kB / 0.9848 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.8741, allocations: 7.984 kB / 0.9848 GB, free: 8.629 MB / 0.7169 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.0001119/0.8742, allocations: 121.3 kB / 0.9849 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.8742, allocations: 7.953 kB / 0.9849 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.779e-05/0.8743, allocations: 16.72 kB / 0.9849 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.8743, allocations: 3.984 kB / 0.9849 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.8743, allocations: 7.984 kB / 0.9849 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.8743, allocations: 3.938 kB / 0.9849 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009022/0.8752, allocations: 458.3 kB / 0.9854 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.8752, allocations: 7.938 kB / 0.9854 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.8754, allocations: 27.97 kB / 0.9854 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.8754, allocations: 0 / 0.9854 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.8755, allocations: 11.94 kB / 0.9854 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8755, allocations: 0 / 0.9854 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8755, allocations: 0 / 0.9854 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.876, allocations: 252 kB / 0.9857 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.8761, allocations: 92.95 kB / 0.9857 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.8761, allocations: 7.938 kB / 0.9858 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.8763, allocations: 19.91 kB / 0.9858 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.8763, allocations: 7.984 kB / 0.9858 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.8764, allocations: 8 kB / 0.9858 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.699e-05/0.8764, allocations: 114.9 kB / 0.9859 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8764, allocations: 0 / 0.9859 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000283/0.8767, allocations: 35.92 kB / 0.9859 GB, free: 7.355 MB / 0.7169 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.000968/0.8777, allocations: 0.7944 MB / 0.9867 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005441/0.8782, allocations: 131.8 kB / 0.9868 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.8782, allocations: 0 / 0.9868 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.8785, allocations: 63.94 kB / 0.9869 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.8789, allocations: 41.39 kB / 0.9869 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.8817, allocations: 1.739 MB / 0.9886 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.882, allocations: 0.7041 MB / 0.9893 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.8821, allocations: 24.45 kB / 0.9893 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.741e-05/0.8822, allocations: 31.42 kB / 0.9894 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of SimCode: time 4.3e-07/0.8822, allocations: 3.938 kB / 0.9894 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.9019, allocations: 3.422 MB / 0.9927 GB, free: 472 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/9.203, allocations: 17.61 kB / 0.9927 GB, free: 456 kB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.42576434800867] Failed to read output from testmodel.py, exit status != 0: 9.366941223968752 9.389478912 8.519199316 Calling exit ...