Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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.00132/0.00132, allocations: 78.73 kB / 19.18 MB, free: 2.516 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.001522/0.001522, allocations: 163.8 kB / 22.46 MB, free: 5.375 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.519/1.519, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.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.002598/0.002598, allocations: 242 kB / 259.4 MB, free: 464 kB / 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.11/1.11, allocations: 138.4 MB / 454.3 MB, free: 2.035 MB / 366.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: translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6467 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.872e-05, allocations: 5.656 kB / 0.6467 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002243/0.002272, allocations: 1.29 MB / 0.648 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.006266, allocations: 3.072 MB / 0.651 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.006294, allocations: 3.938 kB / 0.651 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.006315, allocations: 3.984 kB / 0.651 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.006356, allocations: 3.984 kB / 0.651 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.006887, allocations: 115.3 kB / 0.6511 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.006966, allocations: 35.84 kB / 0.6512 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.007001, allocations: 8 kB / 0.6512 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.007066, allocations: 31.95 kB / 0.6512 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.007119, allocations: 7.984 kB / 0.6512 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.007137, allocations: 4 kB / 0.6512 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.007334, allocations: 63.75 kB / 0.6513 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.007354, allocations: 11.98 kB / 0.6513 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.007383, allocations: 15.92 kB / 0.6513 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.007579, allocations: 71.78 kB / 0.6514 GB, free: 340 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.007582, allocations: 4 kB / 0.6514 GB, free: 336 kB / 0.5606 GB Notification: Performance of FrontEnd: time 7.62e-07/0.007583, allocations: 0 / 0.6514 GB, free: 336 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.007588, allocations: 0 / 0.6514 GB, free: 336 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004139/0.008001, allocations: 266.3 kB / 0.6516 GB, free: 40 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.008038, allocations: 13.34 kB / 0.6516 GB, free: 28 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.466e-05/0.008133, allocations: 8.891 kB / 0.6516 GB, free: 20 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2394/0.2475, allocations: 103 kB / 0.6517 GB, free: 57.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2475, allocations: 2.438 kB / 0.6517 GB, free: 57.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.2476, allocations: 5.625 kB / 0.6517 GB, free: 57.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.2478, allocations: 132.5 kB / 0.6519 GB, free: 57.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2478, allocations: 4.25 kB / 0.6519 GB, free: 57.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.2478, allocations: 3.625 kB / 0.6519 GB, free: 57.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.2478, allocations: 2.812 kB / 0.6519 GB, free: 57.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.483e-05/0.2479, allocations: 19.41 kB / 0.6519 GB, free: 57.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.248, allocations: 112.5 kB / 0.652 GB, free: 57.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.531e-05/0.2481, allocations: 47.89 kB / 0.6521 GB, free: 57.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.2482, allocations: 18.95 kB / 0.6521 GB, free: 57.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005646/0.2487, allocations: 247.3 kB / 0.6523 GB, free: 57.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.2487, allocations: 32.45 kB / 0.6523 GB, free: 57.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.2487, allocations: 0 / 0.6523 GB, free: 57.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005584/0.2493, allocations: 229.7 kB / 0.6526 GB, free: 56.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.2493, allocations: 51.41 kB / 0.6526 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.2494, allocations: 103.8 kB / 0.6527 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.2494, allocations: 27.2 kB / 0.6527 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.496e-05/0.2494, allocations: 87.64 kB / 0.6528 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.2494, allocations: 29.56 kB / 0.6528 GB, free: 56.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.2495, allocations: 27.5 kB / 0.6529 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.2495, allocations: 318 kB / 0.6532 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.2495, allocations: 13.88 kB / 0.6532 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.556e-05/0.2496, allocations: 58.55 kB / 0.6532 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.194e-05/0.2497, allocations: 73.8 kB / 0.6533 GB, free: 56.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2497, allocations: 0 / 0.6533 GB, free: 56.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001192/0.2498, allocations: 98.2 kB / 0.6534 GB, free: 56.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2498, allocations: 13.84 kB / 0.6534 GB, free: 56.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2498, allocations: 0 / 0.6534 GB, free: 56.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2498, allocations: 3.688 kB / 0.6534 GB, free: 56.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.135e-05/0.2499, allocations: 20.05 kB / 0.6534 GB, free: 56.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2499, allocations: 3.938 kB / 0.6534 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.2499, allocations: 6.094 kB / 0.6535 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.2499, allocations: 4.219 kB / 0.6535 GB, free: 56.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.344e-05/0.25, allocations: 116.3 kB / 0.6536 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.25, allocations: 8.266 kB / 0.6536 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.2501, allocations: 13.89 kB / 0.6536 GB, free: 56.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2501, allocations: 0 / 0.6536 GB, free: 56.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2501, allocations: 4.859 kB / 0.6536 GB, free: 56.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2501, allocations: 0 / 0.6536 GB, free: 56.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.2502, allocations: 124.9 kB / 0.6537 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2502, allocations: 0 / 0.6537 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.2503, allocations: 15.47 kB / 0.6537 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2503, allocations: 7.469 kB / 0.6537 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2503, allocations: 4.953 kB / 0.6537 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2503, allocations: 3.938 kB / 0.6537 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2503, allocations: 1.734 kB / 0.6537 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.2505, allocations: 163.9 kB / 0.6539 GB, free: 55.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.2505, allocations: 8.234 kB / 0.6539 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2505, allocations: 8.188 kB / 0.6539 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2506, allocations: 5 kB / 0.6539 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.2506, allocations: 8.297 kB / 0.6539 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.2506, allocations: 1.188 kB / 0.6539 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 1.975e-05/0.2507, allocations: 83.36 kB / 0.654 GB, free: 55.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2507, allocations: 0 / 0.654 GB, free: 55.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002384/0.2509, allocations: 16.88 kB / 0.654 GB, free: 55.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001299/0.251, allocations: 105.3 kB / 0.6541 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.2511, allocations: 41.98 kB / 0.6542 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2511, allocations: 4.156 kB / 0.6542 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.11e-05/0.2512, allocations: 15.2 kB / 0.6542 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.2515, allocations: 11.31 kB / 0.6542 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.2519, allocations: 253 kB / 0.6544 GB, free: 55.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.886e-05/0.252, allocations: 72.89 kB / 0.6545 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.252, allocations: 3.688 kB / 0.6545 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.252, allocations: 16.06 kB / 0.6545 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.252, allocations: 0 / 0.6545 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.003098/0.2551, allocations: 0.6357 MB / 0.6551 GB, free: 55.32 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.937414649873972] Failed to read output from testmodel.py, exit status != 0: 0.2630464807152748 0.27234507199999997 0.26250414399999994 Calling exit ...