Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.001246/0.001246, allocations: 116.1 kB / 17.17 MB, free: 6 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.001302/0.001302, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.447/1.447, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.002366/0.002366, allocations: 279 kB / 309.8 MB, free: 3.398 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.018/1.018, allocations: 180.6 MB / 0.5338 GB, free: 12.43 MB / 398.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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",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.002738/0.002738, allocations: 104.1 kB / 0.7347 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5549/0.5577, allocations: 95.33 MB / 0.8278 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005163/0.5628, allocations: 4.515 MB / 0.8322 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.566, allocations: 2.713 MB / 0.8349 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.5661, allocations: 2.625 kB / 0.8349 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.5663, allocations: 50.75 kB / 0.8349 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.5666, allocations: 98.78 kB / 0.835 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.5679, allocations: 0.4973 MB / 0.8355 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.5682, allocations: 239.1 kB / 0.8357 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.5682, allocations: 18.91 kB / 0.8357 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009477/0.5692, allocations: 412 kB / 0.8361 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.5693, allocations: 92.73 kB / 0.8362 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.5693, allocations: 7.562 kB / 0.8362 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.5704, allocations: 0.5067 MB / 0.8367 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.5705, allocations: 32.64 kB / 0.8368 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.5705, allocations: 80.94 kB / 0.8368 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005984/0.5711, allocations: 366.5 kB / 0.8372 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5712, allocations: 1.031 kB / 0.8372 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5712, allocations: 0 / 0.8372 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.5712, allocations: 0 / 0.8372 GB, free: 12.89 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008104/0.572, allocations: 0.5063 MB / 0.8377 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.572, allocations: 9.219 kB / 0.8377 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.548e-05/0.572, allocations: 7.969 kB / 0.8377 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.488e-05/0.5721, allocations: 50.59 kB / 0.8377 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.5722, allocations: 23.22 kB / 0.8378 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.5725, allocations: 221.3 kB / 0.838 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.5725, allocations: 11.55 kB / 0.838 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.5726, allocations: 17.62 kB / 0.838 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.573, allocations: 251 kB / 0.8382 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.573, allocations: 0 / 0.8382 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.573, allocations: 7.5 kB / 0.8383 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.573, allocations: 6.078 kB / 0.8383 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.5735, allocations: 433.3 kB / 0.8387 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.5746, allocations: 1.01 MB / 0.8397 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.5749, allocations: 147.1 kB / 0.8398 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.612e-05/0.575, allocations: 58.83 kB / 0.8399 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/0.5765, allocations: 1.822 MB / 0.8416 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.5765, allocations: 40.55 kB / 0.8417 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.5765, allocations: 0 / 0.8417 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003548/0.5769, allocations: 147.2 kB / 0.8418 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.5769, allocations: 54.11 kB / 0.8419 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.5771, allocations: 171.4 kB / 0.842 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.5771, allocations: 28.11 kB / 0.8421 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/0.5772, allocations: 149.7 kB / 0.8422 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.5773, allocations: 55.62 kB / 0.8423 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.5773, allocations: 48.92 kB / 0.8423 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5775, allocations: 326.6 kB / 0.8426 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.5775, allocations: 34.38 kB / 0.8426 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.5777, allocations: 151.1 kB / 0.8428 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.5779, allocations: 199.1 kB / 0.843 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5779, allocations: 0.875 kB / 0.843 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003186/0.5782, allocations: 223 kB / 0.8432 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5783, allocations: 6.812 kB / 0.8432 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5783, allocations: 3.469 kB / 0.8432 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.5783, allocations: 9.094 kB / 0.8432 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.5784, allocations: 49.38 kB / 0.8433 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.5785, allocations: 6.281 kB / 0.8433 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.5786, allocations: 32.28 kB / 0.8433 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.5786, allocations: 16.69 kB / 0.8433 GB, free: 7.504 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001159/0.5787, allocations: 130.8 kB / 0.8434 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.5788, allocations: 16.66 kB / 0.8434 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.579, allocations: 166.8 kB / 0.8436 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.5791, allocations: 0.625 kB / 0.8436 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5791, allocations: 2.531 kB / 0.8436 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5791, allocations: 0 / 0.8436 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.5793, allocations: 215.7 kB / 0.8438 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5793, allocations: 5.094 kB / 0.8438 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9e-05/0.5794, allocations: 26.58 kB / 0.8438 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5794, allocations: 0 / 0.8438 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.5794, allocations: 7.328 kB / 0.8439 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5794, allocations: 0 / 0.8439 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5794, allocations: 5.969 kB / 0.8439 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.5797, allocations: 223.5 kB / 0.8441 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.882e-05/0.5798, allocations: 106 kB / 0.8442 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.5798, allocations: 13 kB / 0.8442 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.58, allocations: 12.84 kB / 0.8442 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.5801, allocations: 14.44 kB / 0.8442 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.5801, allocations: 6.797 kB / 0.8442 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001047/0.5802, allocations: 122.5 kB / 0.8443 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5802, allocations: 0 / 0.8443 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004114/0.5806, allocations: 80 kB / 0.8444 GB, free: 6.648 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007715/0.5814, allocations: 0.8364 MB / 0.8452 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.5816, allocations: 119 kB / 0.8453 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5816, allocations: 1.219 kB / 0.8453 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.155e-05/0.5817, allocations: 46.66 kB / 0.8454 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.5821, allocations: 53.7 kB / 0.8454 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.5845, allocations: 2.049 MB / 0.8474 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.5848, allocations: 0.7143 MB / 0.8481 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000166/0.585, allocations: 47 kB / 0.8482 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.585, allocations: 46.02 kB / 0.8482 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.585, allocations: 0 / 0.8482 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.6091, allocations: 5.31 MB / 0.8534 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.66, allocations: 13.27 kB / 0.8534 GB, free: 2.652 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.484663217968773] Failed to read output from testmodel.py, exit status != 0: 8.784948543005157 8.803150014 8.228430865 Calling exit ...