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.002143/0.002143, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002397/0.002397, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.82 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.002659/0.002659, allocations: 289.7 kB / 312.7 MB, free: 2.617 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.232/1.232, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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 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="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.00395/0.00395, allocations: 98.19 kB / 0.7395 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1974, allocations: 95.38 MB / 0.8326 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003643/0.2011, allocations: 1.64 MB / 0.8342 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1783/0.3794, allocations: 133.2 MB / 0.9643 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.3795, allocations: 0 / 0.9643 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.3797, allocations: 15.81 kB / 0.9643 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.38, allocations: 43.7 kB / 0.9644 GB, free: 0.9648 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.3804, allocations: 151.4 kB / 0.9645 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.3806, allocations: 123.6 kB / 0.9646 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3807, allocations: 21.58 kB / 0.9647 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.3821, allocations: 185.2 kB / 0.9648 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.248e-05/0.3822, allocations: 39.78 kB / 0.9649 GB, free: 488 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3822, allocations: 8 kB / 0.9649 GB, free: 480 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.3826, allocations: 171.7 kB / 0.965 GB, free: 308 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.3827, allocations: 19.92 kB / 0.9651 GB, free: 288 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 6.086e-05/0.3827, allocations: 39.8 kB / 0.9651 GB, free: 248 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.3832, allocations: 203.2 kB / 0.9653 GB, free: 44 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3832, allocations: 4 kB / 0.9653 GB, free: 40 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3832, allocations: 0 / 0.9653 GB, free: 40 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3832, allocations: 0 / 0.9653 GB, free: 40 kB / 0.7012 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.0006881/0.3839, allocations: 361.8 kB / 0.9656 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3839, allocations: 13.34 kB / 0.9657 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.384, allocations: 34.75 kB / 0.9657 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009825/0.385, allocations: 95.78 kB / 0.9658 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.3852, allocations: 150.5 kB / 0.9659 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3852, allocations: 11.92 kB / 0.9659 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3852, allocations: 8 kB / 0.9659 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.3857, allocations: 133.6 kB / 0.9661 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.3857, allocations: 0 / 0.9661 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.3857, allocations: 7.938 kB / 0.9661 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3857, allocations: 4 kB / 0.9661 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.3863, allocations: 139.8 kB / 0.9662 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007623/0.387, allocations: 359.6 kB / 0.9666 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.3877, allocations: 174.5 kB / 0.9667 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.3879, allocations: 76.8 kB / 0.9668 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.388, allocations: 0 / 0.9668 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.388, allocations: 34.56 kB / 0.9668 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.388, allocations: 0 / 0.9668 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0007668/0.3888, allocations: 217.4 kB / 0.967 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3888, allocations: 55.34 kB / 0.9671 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3889, allocations: 152.7 kB / 0.9672 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.389, allocations: 25.7 kB / 0.9673 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.389, allocations: 100.1 kB / 0.9674 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.3891, allocations: 27.88 kB / 0.9674 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.3891, allocations: 29.7 kB / 0.9674 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3893, allocations: 322.8 kB / 0.9677 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3895, allocations: 59.95 kB / 0.9678 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.3898, allocations: 125.9 kB / 0.9679 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.3902, allocations: 120.8 kB / 0.968 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3902, allocations: 3.938 kB / 0.968 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005019/0.3907, allocations: 161.5 kB / 0.9682 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3907, allocations: 4 kB / 0.9682 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3907, allocations: 4 kB / 0.9682 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3907, allocations: 3.938 kB / 0.9682 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.3909, allocations: 31.95 kB / 0.9682 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3909, allocations: 0 / 0.9682 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.3911, allocations: 19.94 kB / 0.9682 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3911, allocations: 7.938 kB / 0.9682 GB, free: 12.8 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.0001137/0.3912, allocations: 122.5 kB / 0.9684 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.3912, allocations: 11.95 kB / 0.9684 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.3913, allocations: 16.72 kB / 0.9684 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3913, allocations: 0 / 0.9684 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3913, allocations: 0 / 0.9684 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3913, allocations: 0 / 0.9684 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000877/0.3922, allocations: 429.3 kB / 0.9688 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3922, allocations: 0 / 0.9688 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.3924, allocations: 31.97 kB / 0.9688 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3924, allocations: 0 / 0.9688 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3924, allocations: 0 / 0.9688 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.3924, allocations: 3.938 kB / 0.9688 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3924, allocations: 4 kB / 0.9688 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.3929, allocations: 260 kB / 0.9691 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.393, allocations: 11.91 kB / 0.9691 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.393, allocations: 3.984 kB / 0.9691 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.3931, allocations: 15.92 kB / 0.9691 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.3932, allocations: 15.98 kB / 0.9691 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3932, allocations: 0 / 0.9691 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.333e-05/0.3933, allocations: 111.2 kB / 0.9692 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.3933, allocations: 0 / 0.9692 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002931/0.3936, allocations: 31.94 kB / 0.9693 GB, free: 11.68 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.001041/0.3946, allocations: 0.806 MB / 0.97 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004962/0.3951, allocations: 115.9 kB / 0.9702 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3951, allocations: 0 / 0.9702 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.3954, allocations: 71.88 kB / 0.9702 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3957, allocations: 49.95 kB / 0.9703 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.3985, allocations: 1.728 MB / 0.972 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.104e-05/0.3986, allocations: 88.19 kB / 0.972 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000137/0.3988, allocations: 32.44 kB / 0.9721 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.3988, allocations: 27.42 kB / 0.9721 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.3988, allocations: 0 / 0.9721 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.4336, allocations: 4.09 MB / 0.9761 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.64, allocations: 6.625 kB / 0.9761 GB, free: 4.738 MB / 0.7169 GB " [Timeout remaining time 648] (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: 16.458123663906008] Failed to read output from testmodel.py, exit status != 0: 11.744891154114157 12.14548047 11.759340315 Calling exit ...