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.0007931/0.0007931, allocations: 76.5 kB / 19.93 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.000762/0.000762, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8362/0.8362, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.001421/0.001421, allocations: 242.2 kB / 260.2 MB, free: 13.03 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.6548/0.6548, allocations: 138.4 MB / 455.1 MB, free: 29.93 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: 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.513e-06/1.513e-06, allocations: 0 / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.191e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001387/0.001409, allocations: 1.273 MB / 0.6487 GB, free: 96 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2616/0.263, allocations: 3.06 MB / 0.6517 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.263, allocations: 0 / 0.6517 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.263, allocations: 2.297 kB / 0.6517 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/0.2631, allocations: 9.875 kB / 0.6517 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.2636, allocations: 113.1 kB / 0.6518 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.508e-05/0.2636, allocations: 38.47 kB / 0.6519 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.2637, allocations: 7.422 kB / 0.6519 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.2637, allocations: 29.38 kB / 0.6519 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.2638, allocations: 15.94 kB / 0.6519 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2638, allocations: 1.75 kB / 0.6519 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.264, allocations: 67.55 kB / 0.652 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.2641, allocations: 8.922 kB / 0.652 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.2641, allocations: 13.41 kB / 0.652 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.2643, allocations: 72.95 kB / 0.6521 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2643, allocations: 3.219 kB / 0.6521 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.073e-06/0.2643, allocations: 1.75 kB / 0.6521 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.2643, allocations: 0 / 0.6521 GB, free: 55.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003953/0.2647, allocations: 265.1 kB / 0.6523 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.2647, allocations: 12.38 kB / 0.6523 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.2649, allocations: 9.25 kB / 0.6524 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.539e-05/0.2649, allocations: 108.4 kB / 0.6525 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2649, allocations: 11.52 kB / 0.6525 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.265, allocations: 4.938 kB / 0.6525 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.2651, allocations: 132.3 kB / 0.6526 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2651, allocations: 1.5 kB / 0.6526 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2651, allocations: 5.781 kB / 0.6526 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2652, allocations: 1.969 kB / 0.6526 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/0.2652, allocations: 17.36 kB / 0.6526 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.2653, allocations: 108.6 kB / 0.6527 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.985e-05/0.2654, allocations: 55.88 kB / 0.6528 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.2654, allocations: 13.69 kB / 0.6528 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004795/0.2659, allocations: 250.6 kB / 0.653 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2659, allocations: 35.22 kB / 0.6531 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2659, allocations: 0 / 0.6531 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0004949/0.2664, allocations: 223.2 kB / 0.6533 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.2664, allocations: 55.09 kB / 0.6533 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.78e-05/0.2665, allocations: 100.5 kB / 0.6534 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.2665, allocations: 32.55 kB / 0.6535 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.503e-05/0.2665, allocations: 84.09 kB / 0.6535 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.2665, allocations: 33.48 kB / 0.6536 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.2666, allocations: 28.64 kB / 0.6536 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.2666, allocations: 313.9 kB / 0.6539 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.2666, allocations: 17.59 kB / 0.6539 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-05/0.2666, allocations: 52.45 kB / 0.654 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.336e-05/0.2667, allocations: 79.5 kB / 0.654 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2667, allocations: 0 / 0.654 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.416e-05/0.2668, allocations: 98.89 kB / 0.6541 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.2668, allocations: 6.031 kB / 0.6541 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2668, allocations: 4.188 kB / 0.6541 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2668, allocations: 2.062 kB / 0.6542 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.162e-05/0.2669, allocations: 22.67 kB / 0.6542 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2669, allocations: 5.953 kB / 0.6542 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.2669, allocations: 5.688 kB / 0.6542 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-06/0.2669, allocations: 4.344 kB / 0.6542 GB, free: 53.21 MB / 0.5573 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 4.024e-05/0.2669, allocations: 121.3 kB / 0.6543 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.267, allocations: 3.219 kB / 0.6543 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.267, allocations: 8.125 kB / 0.6543 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.267, allocations: 6.297 kB / 0.6543 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.267, allocations: 0 / 0.6543 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.267, allocations: 2.938 kB / 0.6543 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.2671, allocations: 120.7 kB / 0.6544 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.2671, allocations: 0 / 0.6544 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.2671, allocations: 20.67 kB / 0.6545 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.2671, allocations: 0 / 0.6545 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.2672, allocations: 1.719 kB / 0.6545 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.2672, allocations: 0.5938 kB / 0.6545 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2672, allocations: 3.719 kB / 0.6545 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.2673, allocations: 177 kB / 0.6546 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.2673, allocations: 5.016 kB / 0.6546 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.2673, allocations: 6.484 kB / 0.6546 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.2674, allocations: 2.781 kB / 0.6546 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.2674, allocations: 4.547 kB / 0.6546 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.2674, allocations: 5.812 kB / 0.6547 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.484e-05/0.2674, allocations: 88.75 kB / 0.6547 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2674, allocations: 0 / 0.6547 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001542/0.2675, allocations: 13.38 kB / 0.6548 GB, free: 52.71 MB / 0.5573 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 9.908e-05/0.2676, allocations: 99.86 kB / 0.6548 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.2677, allocations: 38.39 kB / 0.6549 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2677, allocations: 1.719 kB / 0.6549 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.749e-05/0.2678, allocations: 20.25 kB / 0.6549 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.268, allocations: 13.28 kB / 0.6549 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.2684, allocations: 286.6 kB / 0.6552 GB, free: 52.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.23e-05/0.2684, allocations: 70.73 kB / 0.6553 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.2685, allocations: 12.72 kB / 0.6553 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of SimCode: time 3.51e-07/0.2685, allocations: 0 / 0.6553 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of Templates: time 0.001674/0.2701, allocations: 0.8022 MB / 0.6561 GB, free: 52.25 MB / 0.5573 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: 4.991668083705008] Failed to read output from testmodel.py, exit status != 0: 0.27508622966706753 0.28399853999999997 0.018148388 Calling exit ...