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.0008952/0.0008952, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00104/0.00104, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8668/0.8668, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001366/0.001366, allocations: 233.2 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6553/0.6553, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.493e-05, allocations: 9.453 kB / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.2393/0.2393, allocations: 4.216 MB / 0.6504 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.2408, allocations: 2.457 MB / 0.6528 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.2409, allocations: 3.594 kB / 0.6528 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.2412, allocations: 45.62 kB / 0.6529 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.2414, allocations: 96.8 kB / 0.653 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008534/0.2423, allocations: 0.5199 MB / 0.6535 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.2425, allocations: 246 kB / 0.6537 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.2425, allocations: 7.469 kB / 0.6537 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008615/0.2434, allocations: 0.5181 MB / 0.6542 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.2435, allocations: 77.66 kB / 0.6543 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2435, allocations: 7.406 kB / 0.6543 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006896/0.2442, allocations: 491.6 kB / 0.6548 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.2443, allocations: 41.42 kB / 0.6548 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.2443, allocations: 60.36 kB / 0.6549 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.2448, allocations: 370.2 kB / 0.6552 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2448, allocations: 0 / 0.6552 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2448, allocations: 0 / 0.6552 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2448, allocations: 0 / 0.6552 GB, free: 52.96 MB / 0.5573 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.0005877/0.2454, allocations: 438.9 kB / 0.6556 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2454, allocations: 11.78 kB / 0.6556 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.2455, allocations: 54.67 kB / 0.6557 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.2456, allocations: 25.61 kB / 0.6557 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.2458, allocations: 153 kB / 0.6559 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2458, allocations: 15.52 kB / 0.6559 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.2458, allocations: 15.09 kB / 0.6559 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.2461, allocations: 464.2 kB / 0.6563 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2461, allocations: 192 / 0.6563 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.2462, allocations: 15.59 kB / 0.6564 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.2462, allocations: 11.42 kB / 0.6564 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.2465, allocations: 425.2 kB / 0.6568 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.2472, allocations: 0.8673 MB / 0.6576 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.2475, allocations: 153.8 kB / 0.6578 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.2476, allocations: 50.47 kB / 0.6578 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004996/0.2481, allocations: 451.8 kB / 0.6582 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.2481, allocations: 49.34 kB / 0.6583 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.2481, allocations: 1.844 kB / 0.6583 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0002649/0.2483, allocations: 141.4 kB / 0.6584 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.2484, allocations: 57.53 kB / 0.6585 GB, free: 50.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.2485, allocations: 183.3 kB / 0.6587 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2485, allocations: 27.67 kB / 0.6587 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.2485, allocations: 140.7 kB / 0.6588 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.2486, allocations: 57.69 kB / 0.6589 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.2486, allocations: 51 kB / 0.6589 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.2487, allocations: 322.2 kB / 0.6592 GB, free: 49.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.2487, allocations: 37.14 kB / 0.6593 GB, free: 49.87 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.727e-05/0.2488, allocations: 144.2 kB / 0.6594 GB, free: 49.72 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.2489, allocations: 198 kB / 0.6596 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.249, allocations: 1.625 kB / 0.6596 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002276/0.2492, allocations: 222.9 kB / 0.6598 GB, free: 49.44 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2492, allocations: 8.438 kB / 0.6598 GB, free: 49.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.2492, allocations: 9.094 kB / 0.6598 GB, free: 49.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2492, allocations: 4.188 kB / 0.6598 GB, free: 49.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.2494, allocations: 61.25 kB / 0.6599 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2494, allocations: 5.156 kB / 0.6599 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.2494, allocations: 29.73 kB / 0.6599 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.2494, allocations: 14.88 kB / 0.6599 GB, free: 49.41 MB / 0.5573 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 6.411e-05/0.2495, allocations: 131.7 kB / 0.6601 GB, free: 49.28 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.2495, allocations: 18.77 kB / 0.6601 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.2497, allocations: 153.4 kB / 0.6602 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.2498, allocations: 9.328 kB / 0.6602 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2498, allocations: 0 / 0.6602 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2498, allocations: 4.969 kB / 0.6602 GB, free: 49.19 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.2499, allocations: 179.2 kB / 0.6604 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2499, allocations: 0 / 0.6604 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.021e-05/0.25, allocations: 31.44 kB / 0.6604 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.25, allocations: 0.6562 kB / 0.6604 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.25, allocations: 7.688 kB / 0.6604 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.25, allocations: 1.656 kB / 0.6604 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.25, allocations: 0 / 0.6604 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.2501, allocations: 225.2 kB / 0.6607 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.2502, allocations: 40.64 kB / 0.6607 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.2502, allocations: 5.75 kB / 0.6607 GB, free: 48.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2503, allocations: 14.3 kB / 0.6607 GB, free: 48.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.2503, allocations: 12.42 kB / 0.6607 GB, free: 48.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.2504, allocations: 12.45 kB / 0.6607 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.2504, allocations: 122.2 kB / 0.6609 GB, free: 48.72 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2504, allocations: 1.062 kB / 0.6609 GB, free: 48.72 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002711/0.2507, allocations: 75.83 kB / 0.6609 GB, free: 48.7 MB / 0.5573 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.0004495/0.2511, allocations: 0.8373 MB / 0.6618 GB, free: 47.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.2513, allocations: 118.1 kB / 0.6619 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2513, allocations: 2.469 kB / 0.6619 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.2513, allocations: 42.64 kB / 0.6619 GB, free: 47.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.2516, allocations: 58.58 kB / 0.662 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.2531, allocations: 2.019 MB / 0.6639 GB, free: 46.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.925e-05/0.2532, allocations: 102.7 kB / 0.664 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.2533, allocations: 47.14 kB / 0.6641 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.2534, allocations: 46.62 kB / 0.6641 GB, free: 46.15 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/0.2534, allocations: 4 kB / 0.6641 GB, free: 46.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.2713, allocations: 6.164 MB / 0.6701 GB, free: 44.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.513/6.784, allocations: 11 kB / 0.6702 GB, free: 44.84 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.29778364021331] Failed to read output from testmodel.py, exit status != 0: 6.864657524973154 6.873495678 6.626610811 Calling exit ...