Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.631/2.631, allocations: 287.5 MB / 302.4 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002039/0.002039, allocations: 181.1 kB / 371 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001201, allocations: 85.94 kB / 0.743 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004785, allocations: 11.12 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2639, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.552, allocations: 366.9 MB / 1.337 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/1.552, allocations: 65.97 kB / 1.337 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05072/1.603, allocations: 13.09 MB / 1.35 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.116e-06/1.603, allocations: 0 / 1.35 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.713e-06/1.603, allocations: 0 / 1.35 GB, free: 4.211 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.0004439/1.603, allocations: 339.2 kB / 1.35 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.603, allocations: 12.02 kB / 1.35 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/1.603, allocations: 8.188 kB / 1.35 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/1.603, allocations: 167 kB / 1.35 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/1.604, allocations: 4 kB / 1.35 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/1.604, allocations: 18.77 kB / 1.35 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/1.604, allocations: 49.17 kB / 1.35 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.604, allocations: 0 / 1.35 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/1.604, allocations: 7.375 kB / 1.35 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.604, allocations: 0 / 1.35 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.472e-05/1.604, allocations: 19.91 kB / 1.35 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/1.604, allocations: 164.7 kB / 1.35 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/1.604, allocations: 60.98 kB / 1.35 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009933/1.605, allocations: 0.5923 MB / 1.351 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/1.605, allocations: 30.56 kB / 1.351 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 2.956e-06/1.605, allocations: 0 / 1.351 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.000815/1.606, allocations: 311.2 kB / 1.351 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.606, allocations: 59.41 kB / 1.351 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/1.606, allocations: 92.56 kB / 1.351 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/1.606, allocations: 25.7 kB / 1.351 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/1.606, allocations: 87.86 kB / 1.351 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/1.606, allocations: 26.89 kB / 1.351 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/1.606, allocations: 0 / 1.351 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.607, allocations: 318.5 kB / 1.352 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/1.607, allocations: 11.48 kB / 1.352 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/1.607, allocations: 52.64 kB / 1.352 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/1.607, allocations: 22.44 kB / 1.352 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.607, allocations: 0 / 1.352 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002169/1.607, allocations: 100.2 kB / 1.352 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/1.607, allocations: 10.03 kB / 1.352 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.607, allocations: 448 / 1.352 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/1.607, allocations: 4 kB / 1.352 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/1.607, allocations: 23.98 kB / 1.352 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.607, allocations: 0 / 1.352 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/1.607, allocations: 15.55 kB / 1.352 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/1.607, allocations: 4 kB / 1.352 GB, free: 1.352 MB / 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 0.0001125/1.608, allocations: 121.1 kB / 1.352 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/1.608, allocations: 4 kB / 1.352 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/1.608, allocations: 7.844 kB / 1.352 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/1.608, allocations: 4 kB / 1.352 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/1.608, allocations: 3.953 kB / 1.352 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.608, allocations: 3.984 kB / 1.352 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/1.608, allocations: 168.2 kB / 1.352 GB, free: 1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.608, allocations: 0 / 1.352 GB, free: 1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/1.608, allocations: 15.98 kB / 1.352 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/1.608, allocations: 0 / 1.352 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/1.608, allocations: 10.88 kB / 1.352 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.608, allocations: 4 kB / 1.352 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.608, allocations: 0 / 1.352 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/1.609, allocations: 177.4 kB / 1.353 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/1.609, allocations: 83.86 kB / 1.353 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/1.609, allocations: 4.031 kB / 1.353 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/1.609, allocations: 0 / 1.353 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/1.609, allocations: 4 kB / 1.353 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/1.609, allocations: 7.25 kB / 1.353 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.678e-05/1.609, allocations: 83.27 kB / 1.353 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.609, allocations: 0 / 1.353 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00035/1.609, allocations: 19.08 kB / 1.353 GB, free: 0.5859 MB / 0.8698 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.0002537/1.61, allocations: 122 kB / 1.353 GB, free: 472 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001689/1.61, allocations: 37.61 kB / 1.353 GB, free: 440 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.61, allocations: 0 / 1.353 GB, free: 440 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/1.61, allocations: 18.97 kB / 1.353 GB, free: 424 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/1.61, allocations: 6.625 kB / 1.353 GB, free: 420 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009564/1.611, allocations: 402.3 kB / 1.353 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/1.611, allocations: 0.6848 MB / 1.354 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001042/1.612, allocations: 7.984 kB / 1.354 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/1.612, allocations: 11.44 kB / 1.354 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of SimCode: time 1.212e-06/1.612, allocations: 0 / 1.354 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of Templates: time 0.004496/1.616, allocations: 0.8426 MB / 1.355 GB, free: 14.43 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)