Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.009959/0.009959, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.002025/0.002025, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 4.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.655/1.655, allocations: 251.7 MB / 0.5094 GB, free: 3.055 MB / 414.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.001565/0.001565, allocations: 63.91 kB / 0.7257 GB, free: 9.059 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2184, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002387/0.2208, allocations: 1.252 MB / 0.8292 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003996/0.2248, allocations: 3.281 MB / 0.8324 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.2249, allocations: 0 / 0.8324 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.2249, allocations: 0 / 0.8324 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.674e-05/0.225, allocations: 3.938 kB / 0.8324 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.2255, allocations: 103.5 kB / 0.8325 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.967e-05/0.2256, allocations: 43.83 kB / 0.8326 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.2257, allocations: 8 kB / 0.8326 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.2257, allocations: 15.94 kB / 0.8326 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.2258, allocations: 15.97 kB / 0.8326 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.2258, allocations: 3.938 kB / 0.8326 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.2261, allocations: 79.81 kB / 0.8327 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.2261, allocations: 11.92 kB / 0.8327 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.2262, allocations: 15.98 kB / 0.8327 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.2264, allocations: 75.78 kB / 0.8328 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2264, allocations: 3.938 kB / 0.8328 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2264, allocations: 0 / 0.8328 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.2264, allocations: 4 kB / 0.8328 GB, free: 11.29 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.0004634/0.2269, allocations: 343.5 kB / 0.8331 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.2269, allocations: 12.03 kB / 0.8331 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.2271, allocations: 8.922 kB / 0.8332 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2273, allocations: 160.4 kB / 0.8333 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2273, allocations: 384 / 0.8333 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.2273, allocations: 12.28 kB / 0.8333 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.2275, allocations: 53.8 kB / 0.8334 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2275, allocations: 4 kB / 0.8334 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.2275, allocations: 4 kB / 0.8334 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2275, allocations: 4 kB / 0.8334 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.2276, allocations: 19.92 kB / 0.8334 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.2278, allocations: 165.7 kB / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.2279, allocations: 50.56 kB / 0.8336 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.572e-05/0.2279, allocations: 16.84 kB / 0.8336 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008137/0.2287, allocations: 0.5949 MB / 0.8342 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2288, allocations: 34.56 kB / 0.8342 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 2.825e-06/0.2288, allocations: 0 / 0.8342 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0007004/0.2295, allocations: 302.1 kB / 0.8345 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.2295, allocations: 51.41 kB / 0.8346 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.2296, allocations: 105.8 kB / 0.8347 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.2297, allocations: 29.7 kB / 0.8347 GB, free: 9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.2297, allocations: 88.05 kB / 0.8348 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.2298, allocations: 27.64 kB / 0.8348 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.2298, allocations: 25.72 kB / 0.8348 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.23, allocations: 318.8 kB / 0.8351 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.23, allocations: 15.98 kB / 0.8352 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.2301, allocations: 57.08 kB / 0.8352 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.2302, allocations: 73.2 kB / 0.8353 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2302, allocations: 4 kB / 0.8353 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001645/0.2304, allocations: 101.5 kB / 0.8354 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2304, allocations: 4 kB / 0.8354 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2304, allocations: 7.984 kB / 0.8354 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2304, allocations: 0 / 0.8354 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.2305, allocations: 19.94 kB / 0.8354 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2305, allocations: 4.078 kB / 0.8354 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.2306, allocations: 3.938 kB / 0.8354 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.2306, allocations: 12.11 kB / 0.8354 GB, free: 8.191 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 9.566e-05/0.2307, allocations: 125.8 kB / 0.8355 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.2307, allocations: 4 kB / 0.8356 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.2308, allocations: 7.969 kB / 0.8356 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2308, allocations: 0 / 0.8356 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2308, allocations: 0 / 0.8356 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.2308, allocations: 3.938 kB / 0.8356 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.2311, allocations: 174.2 kB / 0.8357 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2311, allocations: 0 / 0.8357 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-05/0.2312, allocations: 16 kB / 0.8357 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.2313, allocations: 11.98 kB / 0.8358 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.2313, allocations: 0 / 0.8358 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.2313, allocations: 0 / 0.8358 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2313, allocations: 0 / 0.8358 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.2315, allocations: 179.3 kB / 0.8359 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.2316, allocations: 81.14 kB / 0.836 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.2316, allocations: 4 kB / 0.836 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2317, allocations: 0 / 0.836 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.2317, allocations: 11.98 kB / 0.836 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2318, allocations: 7.938 kB / 0.836 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.333e-05/0.2318, allocations: 79.28 kB / 0.8361 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2318, allocations: 0 / 0.8361 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002553/0.2321, allocations: 16 kB / 0.8361 GB, free: 7.391 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 0.0001585/0.2322, allocations: 99.19 kB / 0.8362 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.2324, allocations: 59.83 kB / 0.8363 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2324, allocations: 0 / 0.8363 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.33e-05/0.2324, allocations: 8 kB / 0.8363 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.2328, allocations: 8 kB / 0.8363 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006699/0.2334, allocations: 334.6 kB / 0.8366 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.2337, allocations: 0.6807 MB / 0.8373 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5e-05/0.2338, allocations: 11.98 kB / 0.8373 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.2338, allocations: 11.44 kB / 0.8373 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.2338, allocations: 0 / 0.8373 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of Templates: time 0.003227/0.237, allocations: 0.6247 MB / 0.8379 GB, free: 5.504 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)