Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.73/1.73, allocations: 288.3 MB / 303.2 MB, free: 8.027 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 165.1 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 0.6306 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000925/0.0009249, allocations: 93.67 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004702, allocations: 11.53 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2498, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.259, allocations: 367 MB / 1.338 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/1.259, allocations: 67.41 kB / 1.338 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02939/1.289, allocations: 13.09 MB / 1.351 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.415e-06/1.289, allocations: 0 / 1.351 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.961e-06/1.289, allocations: 0 / 1.351 GB, free: 2.977 MB / 0.8698 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.0003724/1.289, allocations: 341.7 kB / 1.351 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.289, allocations: 16.02 kB / 1.351 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/1.289, allocations: 8.609 kB / 1.351 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/1.289, allocations: 171 kB / 1.351 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/1.289, allocations: 0 / 1.351 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/1.289, allocations: 11.84 kB / 1.351 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/1.29, allocations: 48.86 kB / 1.351 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/1.29, allocations: 7.875 kB / 1.351 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/1.29, allocations: 7 kB / 1.351 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.29, allocations: 8 kB / 1.351 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.558e-05/1.29, allocations: 15.98 kB / 1.351 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/1.29, allocations: 168.7 kB / 1.351 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.538e-05/1.29, allocations: 49.88 kB / 1.352 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007506/1.291, allocations: 0.6005 MB / 1.352 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.291, allocations: 38.5 kB / 1.352 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/1.291, allocations: 0 / 1.352 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0006007/1.291, allocations: 298.5 kB / 1.352 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/1.291, allocations: 59.36 kB / 1.352 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/1.292, allocations: 92.8 kB / 1.353 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/1.292, allocations: 29.7 kB / 1.353 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/1.292, allocations: 88.05 kB / 1.353 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/1.292, allocations: 23.47 kB / 1.353 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/1.292, allocations: 3.75 kB / 1.353 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.292, allocations: 314.8 kB / 1.353 GB, free: 344 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/1.292, allocations: 11 kB / 1.353 GB, free: 336 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/1.292, allocations: 52.64 kB / 1.353 GB, free: 272 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/1.292, allocations: 26.38 kB / 1.353 GB, free: 252 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/1.292, allocations: 0 / 1.353 GB, free: 252 kB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001387/1.292, allocations: 99.06 kB / 1.353 GB, free: 160 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.292, allocations: 4 kB / 1.353 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.292, allocations: 4 kB / 1.353 GB, free: 152 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.292, allocations: 7.922 kB / 1.353 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/1.292, allocations: 20.12 kB / 1.353 GB, free: 124 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.292, allocations: 11.89 kB / 1.353 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/1.292, allocations: 3.438 kB / 1.353 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/1.292, allocations: 4 kB / 1.353 GB, free: 108 kB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.938e-05/1.292, allocations: 113.5 kB / 1.353 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/1.292, allocations: 7.984 kB / 1.353 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/1.292, allocations: 7.719 kB / 1.353 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/1.292, allocations: 0 / 1.353 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.293, allocations: 0 / 1.353 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.293, allocations: 11.95 kB / 1.353 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/1.293, allocations: 177.2 kB / 1.354 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.293, allocations: 0 / 1.354 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.432e-05/1.293, allocations: 12 kB / 1.354 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.293, allocations: 0 / 1.354 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/1.293, allocations: 3.984 kB / 1.354 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/1.293, allocations: 448 / 1.354 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.293, allocations: 7.938 kB / 1.354 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/1.293, allocations: 178 kB / 1.354 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/1.293, allocations: 81.14 kB / 1.354 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/1.293, allocations: 8 kB / 1.354 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/1.293, allocations: 0 / 1.354 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/1.293, allocations: 7.984 kB / 1.354 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/1.293, allocations: 3.562 kB / 1.354 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.249e-05/1.293, allocations: 79.28 kB / 1.354 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/1.293, allocations: 0 / 1.354 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000237/1.294, allocations: 15.69 kB / 1.354 GB, free: 15.35 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000219/1.294, allocations: 127.8 kB / 1.354 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001219/1.294, allocations: 39.77 kB / 1.354 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/1.294, allocations: 0 / 1.354 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/1.294, allocations: 19.92 kB / 1.354 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/1.294, allocations: 7.953 kB / 1.354 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006327/1.295, allocations: 394.5 kB / 1.354 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/1.295, allocations: 0.6887 MB / 1.355 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.707e-05/1.295, allocations: 4 kB / 1.355 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/1.295, allocations: 11.44 kB / 1.355 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/1.295, allocations: 0 / 1.355 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of Templates: time 0.003221/1.298, allocations: 0.8542 MB / 1.356 GB, free: 13.18 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)