Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_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.002082/0.002082, allocations: 114.1 kB / 16.42 MB, free: 6.504 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.002115/0.002115, allocations: 187.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.6/2.6, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.992/3.992, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 63.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135/1.137, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.003675/1.141, allocations: 1.252 MB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00603/1.147, allocations: 3.26 MB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/1.147, allocations: 7.938 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/1.147, allocations: 0 / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.421e-05/1.147, allocations: 7.922 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/1.148, allocations: 99.55 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/1.148, allocations: 43.83 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.989e-05/1.149, allocations: 8 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.331e-05/1.149, allocations: 11.98 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/1.149, allocations: 19.86 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/1.149, allocations: 8 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/1.149, allocations: 71.81 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/1.149, allocations: 11.98 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/1.149, allocations: 19.92 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/1.15, allocations: 63.84 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/1.15, allocations: 4 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.575e-06/1.15, allocations: 4 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.026e-05/1.15, allocations: 0 / 1.213 GB, free: 8.676 MB / 0.9356 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.0006938/1.15, allocations: 351.3 kB / 1.214 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.088e-05/1.151, allocations: 8.031 kB / 1.214 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/1.151, allocations: 8.844 kB / 1.214 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/1.151, allocations: 166.2 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/1.151, allocations: 4.375 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/1.151, allocations: 4.375 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/1.151, allocations: 57.8 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/1.151, allocations: 0 / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/1.151, allocations: 7.938 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.151, allocations: 0 / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/1.151, allocations: 27.92 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/1.152, allocations: 161.7 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/1.152, allocations: 46.56 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.799e-05/1.152, allocations: 20.84 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/1.153, allocations: 0.5986 MB / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/1.153, allocations: 34.56 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/1.153, allocations: 0 / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.00097/1.154, allocations: 294.2 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.154, allocations: 55.41 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/1.155, allocations: 101.8 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/1.155, allocations: 25.7 kB / 1.215 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/1.155, allocations: 95.98 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/1.155, allocations: 27.61 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/1.155, allocations: 21.72 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.155, allocations: 322.8 kB / 1.216 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/1.155, allocations: 12 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.519e-05/1.155, allocations: 53.14 kB / 1.216 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/1.155, allocations: 85.19 kB / 1.216 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.155, allocations: 0 / 1.216 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002568/1.156, allocations: 97.61 kB / 1.216 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/1.156, allocations: 8 kB / 1.216 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.156, allocations: 3.938 kB / 1.216 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/1.156, allocations: 3.938 kB / 1.216 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/1.156, allocations: 20 kB / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.156, allocations: 0 / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/1.156, allocations: 4 kB / 1.216 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/1.156, allocations: 11.92 kB / 1.216 GB, free: 5.574 MB / 0.9356 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 0.0001376/1.156, allocations: 117.7 kB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/1.156, allocations: 11.97 kB / 1.216 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/1.156, allocations: 7.969 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.156, allocations: 0 / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.156, allocations: 0 / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/1.156, allocations: 89.09 kB / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/1.156, allocations: 4.375 kB / 1.216 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/1.157, allocations: 4 kB / 1.216 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/1.157, allocations: 4.078 kB / 1.216 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002872/1.157, allocations: 148.8 kB / 1.216 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004034/1.157, allocations: 270.8 kB / 1.216 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.476e-05/1.158, allocations: 16.03 kB / 1.216 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.552e-05/1.158, allocations: 75.28 kB / 1.217 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of Backend: time 6.72e-07/1.158, allocations: 4 kB / 1.217 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008259/1.158, allocations: 140.8 kB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001092/1.16, allocations: 0.7614 MB / 1.217 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of Templates: time 0.00569/1.165, allocations: 1.022 MB / 1.218 GB, free: 2.812 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)