Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001331, allocations: 101.8 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.858/1.858, allocations: 292.3 MB / 0.5495 GB, free: 17.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 71.88 kB / 0.6721 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2762, allocations: 114.5 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.003696/0.28, allocations: 1.264 MB / 0.7852 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3974/0.6774, allocations: 3.253 MB / 0.7884 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.6775, allocations: 2.656 kB / 0.7884 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.6775, allocations: 2.25 kB / 0.7884 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.6776, allocations: 6.75 kB / 0.7884 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.6781, allocations: 109.3 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.6782, allocations: 32.02 kB / 0.7886 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.6782, allocations: 0 / 0.7886 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.685e-05/0.6783, allocations: 20.55 kB / 0.7886 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.6783, allocations: 22.2 kB / 0.7886 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.6783, allocations: 0 / 0.7886 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.6786, allocations: 78.91 kB / 0.7887 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.6786, allocations: 12.12 kB / 0.7887 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.6786, allocations: 18.95 kB / 0.7887 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.6788, allocations: 65.27 kB / 0.7888 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6788, allocations: 0 / 0.7888 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6788, allocations: 0 / 0.7888 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.6788, allocations: 0 / 0.7888 GB, free: 45.95 MB / 0.6544 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.0003326/0.6792, allocations: 353.8 kB / 0.7891 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.6792, allocations: 8.188 kB / 0.7891 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.731e-05/0.6793, allocations: 14.89 kB / 0.7891 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.278e-05/0.6794, allocations: 160.4 kB / 0.7893 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.6794, allocations: 5.172 kB / 0.7893 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.6794, allocations: 9.344 kB / 0.7893 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.6796, allocations: 53.42 kB / 0.7893 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6796, allocations: 0.8438 kB / 0.7893 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.6796, allocations: 2.906 kB / 0.7893 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.6796, allocations: 4.406 kB / 0.7894 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.6797, allocations: 22.02 kB / 0.7894 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.6798, allocations: 173.2 kB / 0.7895 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.154e-05/0.6799, allocations: 51.92 kB / 0.7896 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.6799, allocations: 16.67 kB / 0.7896 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/0.6805, allocations: 0.597 MB / 0.7902 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.6805, allocations: 33.78 kB / 0.7902 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.6805, allocations: 0.5312 kB / 0.7902 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0005229/0.6811, allocations: 294 kB / 0.7905 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.6811, allocations: 54.69 kB / 0.7906 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.118e-05/0.6812, allocations: 106.3 kB / 0.7907 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.6812, allocations: 27.27 kB / 0.7907 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.6812, allocations: 90.17 kB / 0.7908 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.6812, allocations: 24.91 kB / 0.7908 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.6813, allocations: 29.47 kB / 0.7908 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.6813, allocations: 323.7 kB / 0.7911 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.6814, allocations: 11.25 kB / 0.7911 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/0.6814, allocations: 54.92 kB / 0.7912 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.836e-05/0.6815, allocations: 75.09 kB / 0.7913 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6815, allocations: 2.625 kB / 0.7913 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001136/0.6816, allocations: 100.6 kB / 0.7914 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.6816, allocations: 6.156 kB / 0.7914 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6816, allocations: 0.625 kB / 0.7914 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.6817, allocations: 4.703 kB / 0.7914 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.6817, allocations: 18.86 kB / 0.7914 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.6817, allocations: 3.062 kB / 0.7914 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.6818, allocations: 6.797 kB / 0.7914 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.6818, allocations: 7.281 kB / 0.7914 GB, free: 43.46 MB / 0.6544 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.184e-05/0.6819, allocations: 128 kB / 0.7915 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.6819, allocations: 3.344 kB / 0.7915 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.6819, allocations: 6.281 kB / 0.7915 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.6819, allocations: 0 / 0.7915 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6819, allocations: 0 / 0.7915 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.6819, allocations: 2.625 kB / 0.7915 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.6821, allocations: 178 kB / 0.7917 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6822, allocations: 1.25 kB / 0.7917 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.185e-05/0.6822, allocations: 21.17 kB / 0.7917 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6823, allocations: 0 / 0.7917 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.6823, allocations: 2.5 kB / 0.7917 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6823, allocations: 2.656 kB / 0.7917 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6823, allocations: 0 / 0.7917 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.6824, allocations: 181 kB / 0.7919 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.6825, allocations: 79.97 kB / 0.792 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.6825, allocations: 3.719 kB / 0.792 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.6826, allocations: 10.19 kB / 0.792 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.6826, allocations: 4.953 kB / 0.792 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.6826, allocations: 0 / 0.792 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.208e-05/0.6827, allocations: 84.62 kB / 0.7921 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6827, allocations: 0 / 0.7921 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000242/0.6829, allocations: 14.47 kB / 0.7921 GB, free: 42.84 MB / 0.6544 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.782e-05/0.683, allocations: 105 kB / 0.7922 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.6831, allocations: 48.89 kB / 0.7922 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6832, allocations: 0 / 0.7922 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.093e-05/0.6832, allocations: 15.36 kB / 0.7923 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.6835, allocations: 10.22 kB / 0.7923 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.684, allocations: 352.8 kB / 0.7926 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.811e-05/0.6841, allocations: 0.6813 MB / 0.7933 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.6841, allocations: 16.03 kB / 0.7933 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of SimCode: time 3.7e-07/0.6841, allocations: 0.8438 kB / 0.7933 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.001929/0.6861, allocations: 0.78 MB / 0.794 GB, free: 41.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)