Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.0008591/0.0008591, allocations: 76.45 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008493/0.0008493, allocations: 177.2 kB / 23.21 MB, free: 1.344 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.9449/0.9449, allocations: 177.2 MB / 203.5 MB, free: 5.406 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.593/0.593, allocations: 114 MB / 373.9 MB, free: 8.637 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.7e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.005315/0.005332, allocations: 4.491 MB / 0.5586 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.007451, allocations: 2.461 MB / 0.561 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.007599, allocations: 4 kB / 0.561 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.007935, allocations: 39.75 kB / 0.5611 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.008253, allocations: 107.2 kB / 0.5612 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.009502, allocations: 0.5387 MB / 0.5617 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.00979, allocations: 239.8 kB / 0.5619 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.009843, allocations: 5.812 kB / 0.5619 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.01009, allocations: 163.6 kB / 0.5621 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.01022, allocations: 79.77 kB / 0.5621 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.01025, allocations: 8 kB / 0.5622 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.01092, allocations: 315.1 kB / 0.5625 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.01101, allocations: 39.88 kB / 0.5625 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.01108, allocations: 67.83 kB / 0.5626 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.01163, allocations: 374.9 kB / 0.5629 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.01164, allocations: 0 / 0.5629 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/0.01164, allocations: 0 / 0.5629 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.01164, allocations: 0 / 0.5629 GB, free: 9.824 MB / 0.5261 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.0006527/0.0123, allocations: 449.4 kB / 0.5633 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.01234, allocations: 12.61 kB / 0.5634 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.01238, allocations: 54.73 kB / 0.5634 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.01252, allocations: 24.78 kB / 0.5634 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.01275, allocations: 149.6 kB / 0.5636 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.01277, allocations: 16.7 kB / 0.5636 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.01279, allocations: 24.36 kB / 0.5636 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.01314, allocations: 483.8 kB / 0.5641 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.01315, allocations: 192 / 0.5641 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.01317, allocations: 15.88 kB / 0.5641 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.0132, allocations: 12 kB / 0.5641 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.01351, allocations: 415.5 kB / 0.5645 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/0.01433, allocations: 0.8164 MB / 0.5653 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.01459, allocations: 155.3 kB / 0.5654 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/0.01466, allocations: 52.84 kB / 0.5655 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/0.01517, allocations: 451.9 kB / 0.5659 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.0152, allocations: 38.55 kB / 0.566 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.0152, allocations: 0 / 0.566 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0002694/0.01547, allocations: 147.8 kB / 0.5661 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.0155, allocations: 55.41 kB / 0.5662 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.01561, allocations: 179.8 kB / 0.5663 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.01563, allocations: 29.7 kB / 0.5664 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.01569, allocations: 148.1 kB / 0.5665 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.01573, allocations: 51.53 kB / 0.5665 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.01578, allocations: 49.7 kB / 0.5666 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.01587, allocations: 326.8 kB / 0.5669 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.953e-05/0.01591, allocations: 39.97 kB / 0.5669 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.435e-05/0.01601, allocations: 137.7 kB / 0.5671 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.01617, allocations: 193.5 kB / 0.5673 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.01617, allocations: 0 / 0.5673 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002276/0.0164, allocations: 219.6 kB / 0.5675 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.01641, allocations: 7.938 kB / 0.5675 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.01642, allocations: 4 kB / 0.5675 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.01644, allocations: 8 kB / 0.5675 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.01656, allocations: 59.91 kB / 0.5675 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.01656, allocations: 4 kB / 0.5676 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.01664, allocations: 31.72 kB / 0.5676 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.01665, allocations: 16 kB / 0.5676 GB, free: 4.637 MB / 0.5261 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 8.006e-05/0.01673, allocations: 130.1 kB / 0.5677 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.01676, allocations: 19.91 kB / 0.5677 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.01699, allocations: 158.8 kB / 0.5679 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.017, allocations: 4 kB / 0.5679 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01701, allocations: 0 / 0.5679 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01701, allocations: 3.938 kB / 0.5679 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.01719, allocations: 180.6 kB / 0.5681 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.0172, allocations: 0 / 0.5681 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/0.01726, allocations: 31.98 kB / 0.5681 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01727, allocations: 0 / 0.5681 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.01728, allocations: 8 kB / 0.5681 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01728, allocations: 4 kB / 0.5681 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01728, allocations: 0 / 0.5681 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.01746, allocations: 231.2 kB / 0.5683 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.01751, allocations: 31.86 kB / 0.5684 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.01753, allocations: 0 / 0.5684 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.01764, allocations: 15.98 kB / 0.5684 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.01766, allocations: 7.984 kB / 0.5684 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.01767, allocations: 15.94 kB / 0.5684 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.053e-05/0.01774, allocations: 126 kB / 0.5685 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01774, allocations: 4 kB / 0.5685 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003128/0.01806, allocations: 79.86 kB / 0.5686 GB, free: 3.527 MB / 0.5261 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.0006579/0.01871, allocations: 0.8282 MB / 0.5694 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.01892, allocations: 124 kB / 0.5695 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.01893, allocations: 0 / 0.5695 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.01897, allocations: 35.92 kB / 0.5696 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.01929, allocations: 64.44 kB / 0.5696 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.02114, allocations: 2.02 MB / 0.5716 GB, free: 276 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.685e-05/0.02122, allocations: 99.27 kB / 0.5717 GB, free: 156 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.02136, allocations: 45.91 kB / 0.5717 GB, free: 112 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.02143, allocations: 48.47 kB / 0.5718 GB, free: 60 kB / 0.5261 GB Notification: Performance of SimCode: time 1.373e-06/0.02143, allocations: 4 kB / 0.5718 GB, free: 56 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.04453, allocations: 6.217 MB / 0.5779 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/7.821, allocations: 2.875 kB / 0.5779 GB, free: 10.05 MB / 0.5417 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.45587439276278] Failed to read output from testmodel.py, exit status != 0: 7.907460356131196 7.917340356 7.903811021 Calling exit ...