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.001449/0.001449, 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.001508/0.001508, allocations: 219.5 kB / 23.04 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.002637/0.002637, allocations: 297.2 kB / 313.5 MB, free: 2.793 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.252/1.252, allocations: 180.6 MB / 0.5377 GB, free: 12.9 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="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.002796/0.002796, allocations: 94.45 kB / 0.7403 GB, free: 28.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.183, allocations: 95.39 MB / 0.8335 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00302/0.186, allocations: 1.681 MB / 0.8351 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6725/0.8585, allocations: 154.9 MB / 0.9864 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.8587, allocations: 1.594 kB / 0.9864 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.8588, allocations: 16.2 kB / 0.9864 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.8591, allocations: 49.56 kB / 0.9865 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.8596, allocations: 149.5 kB / 0.9866 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.8597, allocations: 120.5 kB / 0.9867 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.8599, allocations: 23.62 kB / 0.9867 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.8612, allocations: 180.7 kB / 0.9869 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.8612, allocations: 51.52 kB / 0.987 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.8613, allocations: 7.281 kB / 0.987 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.8616, allocations: 186.4 kB / 0.9872 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.8617, allocations: 27.03 kB / 0.9872 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.8617, allocations: 45.89 kB / 0.9872 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.8621, allocations: 197.4 kB / 0.9874 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8621, allocations: 3.969 kB / 0.9874 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8621, allocations: 1.031 kB / 0.9874 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8621, allocations: 0 / 0.9874 GB, free: 3.547 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.0007601/0.8629, allocations: 372.4 kB / 0.9878 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.8629, allocations: 12 kB / 0.9878 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.684e-05/0.8629, allocations: 3.438 kB / 0.9878 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.236e-05/0.8629, allocations: 39.53 kB / 0.9878 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.8639, allocations: 88.8 kB / 0.9879 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.8641, allocations: 151.8 kB / 0.9881 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.8641, allocations: 6.25 kB / 0.9881 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.8641, allocations: 9.969 kB / 0.9881 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.8645, allocations: 132.3 kB / 0.9882 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.8646, allocations: 0.9375 kB / 0.9882 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.8646, allocations: 5.438 kB / 0.9882 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.8646, allocations: 4.938 kB / 0.9882 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005054/0.8651, allocations: 140.1 kB / 0.9883 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007658/0.8658, allocations: 375.1 kB / 0.9887 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.8666, allocations: 169.3 kB / 0.9889 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.8668, allocations: 72.47 kB / 0.9889 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.8669, allocations: 5.531 kB / 0.9889 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.8669, allocations: 34.16 kB / 0.989 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.8669, allocations: 1.156 kB / 0.989 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0009096/0.8678, allocations: 217.7 kB / 0.9892 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.8679, allocations: 53.06 kB / 0.9892 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.868, allocations: 147.7 kB / 0.9894 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.868, allocations: 27.19 kB / 0.9894 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.8681, allocations: 107.1 kB / 0.9895 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.8681, allocations: 31.39 kB / 0.9895 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.8682, allocations: 27.73 kB / 0.9896 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.8683, allocations: 329.3 kB / 0.9899 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.8686, allocations: 51.44 kB / 0.9899 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.8688, allocations: 78.7 kB / 0.99 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.8693, allocations: 125.8 kB / 0.9901 GB, free: 18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8693, allocations: 1 kB / 0.9901 GB, free: 18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005189/0.8698, allocations: 158.4 kB / 0.9903 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.8698, allocations: 5.5 kB / 0.9903 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.8698, allocations: 1.5 kB / 0.9903 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.8698, allocations: 0.9688 kB / 0.9903 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.87, allocations: 33.72 kB / 0.9903 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.87, allocations: 2.453 kB / 0.9903 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.8702, allocations: 20.53 kB / 0.9903 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.8702, allocations: 3.219 kB / 0.9903 GB, free: 17.96 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.000114/0.8703, allocations: 124.2 kB / 0.9904 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.8703, allocations: 10.14 kB / 0.9905 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.624e-05/0.8704, allocations: 18.22 kB / 0.9905 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.8704, allocations: 4.781 kB / 0.9905 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8704, allocations: 1.969 kB / 0.9905 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8704, allocations: 0.7031 kB / 0.9905 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008752/0.8713, allocations: 440 kB / 0.9909 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.8713, allocations: 1.812 kB / 0.9909 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.8715, allocations: 30.33 kB / 0.9909 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8715, allocations: 0.5625 kB / 0.9909 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.8715, allocations: 2.188 kB / 0.9909 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.8715, allocations: 1.609 kB / 0.9909 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8715, allocations: 4.016 kB / 0.9909 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/0.8721, allocations: 263.8 kB / 0.9912 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.8721, allocations: 16.94 kB / 0.9912 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.8721, allocations: 2.984 kB / 0.9912 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.8723, allocations: 19.56 kB / 0.9912 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.8723, allocations: 11.88 kB / 0.9912 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.8723, allocations: 0.7031 kB / 0.9912 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.622e-05/0.8724, allocations: 119.7 kB / 0.9914 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5e-08/0.8724, allocations: 0 / 0.9914 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003128/0.8727, allocations: 31.22 kB / 0.9914 GB, free: 17.33 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.0009534/0.8737, allocations: 0.7957 MB / 0.9922 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005094/0.8742, allocations: 123.5 kB / 0.9923 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8742, allocations: 4.875 kB / 0.9923 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.8744, allocations: 65.75 kB / 0.9923 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.8748, allocations: 32.42 kB / 0.9924 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.8774, allocations: 1.737 MB / 0.9941 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.8777, allocations: 0.7021 MB / 0.9948 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.8779, allocations: 29.75 kB / 0.9948 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.321e-05/0.8779, allocations: 32.64 kB / 0.9948 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.8779, allocations: 1.203 kB / 0.9948 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.9011, allocations: 3.571 MB / 0.9983 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.83, allocations: 7.5 kB / 0.9983 GB, free: 14.35 MB / 0.7325 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 & /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: 16.148947079956997] Failed to read output from testmodel.py, exit status != 0: 12.001031271996908 12.016129841 11.151464491 Calling exit ...