Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001981/0.001981, allocations: 114.8 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.002201/0.002201, allocations: 210.2 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.602/1.602, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002497/0.002497, allocations: 277.9 kB / 309.8 MB, free: 3.477 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.132/1.132, allocations: 180.6 MB / 0.5338 GB, free: 12.8 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.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.003678/0.003678, allocations: 103.8 kB / 0.7347 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7246/0.7283, allocations: 95.34 MB / 0.8278 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002573/0.7309, allocations: 1.439 MB / 0.8292 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006009/0.7315, allocations: 221.9 kB / 0.8294 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.7315, allocations: 0 / 0.8294 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.7315, allocations: 3.234 kB / 0.8294 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.7316, allocations: 4.453 kB / 0.8294 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.7319, allocations: 27 kB / 0.8294 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.732, allocations: 28.28 kB / 0.8294 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.7322, allocations: 1.172 kB / 0.8294 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.154e-05/0.7322, allocations: 18.53 kB / 0.8295 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.7323, allocations: 9.953 kB / 0.8295 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.7323, allocations: 1.531 kB / 0.8295 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.7324, allocations: 31.97 kB / 0.8295 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.7324, allocations: 13.14 kB / 0.8295 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.7324, allocations: 4.078 kB / 0.8295 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.7326, allocations: 38.75 kB / 0.8296 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7326, allocations: 0 / 0.8296 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7326, allocations: 0 / 0.8296 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.7326, allocations: 0 / 0.8296 GB, free: 1.836 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000498/0.7331, allocations: 344.7 kB / 0.8299 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.7332, allocations: 9.469 kB / 0.8299 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.024e-05/0.7332, allocations: 192 / 0.8299 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.537e-05/0.7332, allocations: 38.42 kB / 0.8299 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.7334, allocations: 9.844 kB / 0.8299 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.7335, allocations: 168.2 kB / 0.8301 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.7335, allocations: 8.359 kB / 0.8301 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.7335, allocations: 3.25 kB / 0.8301 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.7337, allocations: 57.7 kB / 0.8302 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7337, allocations: 0 / 0.8302 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.7337, allocations: 0 / 0.8302 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7337, allocations: 0 / 0.8302 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.7339, allocations: 33.22 kB / 0.8302 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.7343, allocations: 250.3 kB / 0.8304 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.7344, allocations: 46.23 kB / 0.8305 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.7345, allocations: 17.12 kB / 0.8305 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.7345, allocations: 2.688 kB / 0.8305 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.7345, allocations: 31.41 kB / 0.8305 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7345, allocations: 0 / 0.8305 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003911/0.7349, allocations: 86.92 kB / 0.8306 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.7349, allocations: 59.89 kB / 0.8307 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/0.735, allocations: 101.8 kB / 0.8308 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.735, allocations: 25.7 kB / 0.8308 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.7351, allocations: 82.09 kB / 0.8309 GB, free: 492 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.7351, allocations: 14.09 kB / 0.8309 GB, free: 480 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.7351, allocations: 15.89 kB / 0.8309 GB, free: 460 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.7352, allocations: 313.8 kB / 0.8312 GB, free: 140 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/0.7353, allocations: 18.2 kB / 0.8312 GB, free: 136 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.7354, allocations: 13.88 kB / 0.8312 GB, free: 136 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.7355, allocations: 46.5 kB / 0.8313 GB, free: 116 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7355, allocations: 0 / 0.8313 GB, free: 116 kB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/0.7357, allocations: 70.38 kB / 0.8313 GB, free: 72 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7357, allocations: 6.219 kB / 0.8313 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7357, allocations: 0 / 0.8313 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.7358, allocations: 0 / 0.8313 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.798e-05/0.7359, allocations: 9.938 kB / 0.8314 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.7359, allocations: 0 / 0.8314 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/0.7359, allocations: 11.03 kB / 0.8314 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.7359, allocations: 2.844 kB / 0.8314 GB, free: 68 kB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.0001133/0.736, allocations: 114.3 kB / 0.8315 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.7361, allocations: 2.344 kB / 0.8315 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.7364, allocations: 73.7 kB / 0.8316 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.7364, allocations: 1.25 kB / 0.8316 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7364, allocations: 4 kB / 0.8316 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7364, allocations: 2 kB / 0.8316 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.7366, allocations: 163.5 kB / 0.8317 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7366, allocations: 7.453 kB / 0.8317 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-05/0.7367, allocations: 16.52 kB / 0.8317 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.7367, allocations: 0 / 0.8317 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.7367, allocations: 2.719 kB / 0.8317 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7367, allocations: 0.75 kB / 0.8317 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7367, allocations: 0 / 0.8317 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.737, allocations: 175.1 kB / 0.8319 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.737, allocations: 77.91 kB / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.737, allocations: 0.75 kB / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.7371, allocations: 8.328 kB / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.7372, allocations: 0.8438 kB / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.7372, allocations: 0.75 kB / 0.832 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.233e-05/0.7372, allocations: 84.28 kB / 0.8321 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.7372, allocations: 4 kB / 0.8321 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002163/0.7374, allocations: 4.875 kB / 0.8321 GB, free: 15.37 MB / 0.5919 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 (3): * Single equations (assignments): 3 * 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.0006288/0.7381, allocations: 0.7023 MB / 0.8328 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.7383, allocations: 40.45 kB / 0.8328 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7383, allocations: 0 / 0.8328 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.462e-05/0.7384, allocations: 25.83 kB / 0.8328 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.7387, allocations: 4.562 kB / 0.8328 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/0.7392, allocations: 152.8 kB / 0.833 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.7395, allocations: 0.6823 MB / 0.8336 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.499e-05/0.7396, allocations: 0.75 kB / 0.8336 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.7396, allocations: 10.09 kB / 0.8337 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.7396, allocations: 0 / 0.8337 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.7581, allocations: 1.434 MB / 0.8351 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.854, allocations: 6.406 kB / 0.8351 GB, free: 13.45 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.209297487977892] Failed to read output from testmodel.py, exit status != 0: 8.98234094795771 9.008639795 8.271165463 Calling exit ...