Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.815/4.815, allocations: 0.5623 GB / 0.5775 GB, free: 66.94 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002577/0.002577, allocations: 356 kB / 0.6446 GB, free: 21.57 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.433/4.433, allocations: 410.7 MB / 1.113 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001886/0.001886, allocations: 183.2 kB / 1.226 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.0005112, allocations: 12.66 kB / 1.349 GB, free: 321.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2334, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001807/0.2353, allocations: 1.144 MB / 1.462 GB, free: 219.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.2361, allocations: 357.3 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.2362, allocations: 0 / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.2362, allocations: 5.125 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.2363, allocations: 0 / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.2367, allocations: 75.19 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.982e-05/0.2368, allocations: 23.86 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.115e-05/0.2369, allocations: 8.875 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.2369, allocations: 13.3 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.237, allocations: 7.938 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.237, allocations: 3.938 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004719/0.2375, allocations: 263.6 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.2375, allocations: 9.469 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.2376, allocations: 25.7 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.2377, allocations: 67.88 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2377, allocations: 0 / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2378, allocations: 0.7188 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2378, allocations: 0 / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005092/0.2383, allocations: 365.5 kB / 1.464 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.2384, allocations: 12.75 kB / 1.464 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.591e-05/0.2384, allocations: 1.094 kB / 1.464 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.2385, allocations: 178.9 kB / 1.464 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.2386, allocations: 5.031 kB / 1.464 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2386, allocations: 4 kB / 1.464 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.2388, allocations: 56.17 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2389, allocations: 0 / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2389, allocations: 0 / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2389, allocations: 0 / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.2392, allocations: 47.09 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.2396, allocations: 260.8 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2398, allocations: 42.09 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.24, allocations: 28.83 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008698/0.2408, allocations: 465.2 kB / 1.465 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2409, allocations: 31.59 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 2.405e-06/0.2409, allocations: 0 / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0005911/0.2415, allocations: 104.9 kB / 1.465 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.2415, allocations: 53.28 kB / 1.465 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.2416, allocations: 105.8 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.2416, allocations: 25.7 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.2417, allocations: 84.14 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.2417, allocations: 8.438 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.2417, allocations: 0 / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.726e-05/0.2418, allocations: 324.8 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.242, allocations: 20.95 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.2421, allocations: 20.52 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.2423, allocations: 23.14 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2423, allocations: 4 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003505/0.2426, allocations: 76.84 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2427, allocations: 6.344 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2427, allocations: 0 / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2427, allocations: 3.938 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.2428, allocations: 19.11 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2429, allocations: 3.938 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.243, allocations: 4 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.243, allocations: 3.984 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 6.918e-05/0.2431, allocations: 117.8 kB / 1.466 GB, free: 216 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.2431, allocations: 7.844 kB / 1.466 GB, free: 216 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.2435, allocations: 88.62 kB / 1.466 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2435, allocations: 0 / 1.466 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2436, allocations: 0 / 1.466 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.2436, allocations: 77.95 kB / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2436, allocations: 0 / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.2437, allocations: 16.97 kB / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.2438, allocations: 4.609 kB / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004006/0.2442, allocations: 167.8 kB / 1.466 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004133/0.2447, allocations: 246.1 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001593/0.2448, allocations: 26.14 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.2449, allocations: 87.27 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of Backend: time 1.012e-06/0.2449, allocations: 4.719 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007177/0.2456, allocations: 137 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0004251/0.2461, allocations: 0.5649 MB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.00462/0.2507, allocations: 1.302 MB / 1.468 GB, free: 213.2 MB / 0.8073 GB