Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 182.7 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5888/0.5888, allocations: 87.51 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 104.9 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 55.92 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3404, allocations: 70.07 MB / 0.5575 GB, free: 44.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002442/0.3429, allocations: 1.483 MB / 0.5589 GB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000249/0.3431, allocations: 92.97 kB / 0.559 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.3432, allocations: 1.562 kB / 0.559 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.3432, allocations: 5.016 kB / 0.559 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.162e-05/0.3433, allocations: 7.922 kB / 0.559 GB, free: 43.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.3434, allocations: 8.562 kB / 0.5591 GB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.466e-05/0.3435, allocations: 26.48 kB / 0.5591 GB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.801e-05/0.3436, allocations: 3.906 kB / 0.5591 GB, free: 43.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.3436, allocations: 9.641 kB / 0.5591 GB, free: 43.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.255e-05/0.3436, allocations: 16.55 kB / 0.5591 GB, free: 43.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.3437, allocations: 0 / 0.5591 GB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.083e-05/0.3437, allocations: 16.55 kB / 0.5591 GB, free: 43.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.3437, allocations: 3.938 kB / 0.5591 GB, free: 43.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.3438, allocations: 10.53 kB / 0.5591 GB, free: 43.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.928e-05/0.3439, allocations: 36.91 kB / 0.5592 GB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3439, allocations: 0 / 0.5592 GB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3439, allocations: 1.281 kB / 0.5592 GB, free: 43.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.3439, allocations: 1.344 kB / 0.5592 GB, free: 43.39 MB / 410.7 MB 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.0003475/0.3442, allocations: 349.6 kB / 0.5595 GB, free: 43.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.3443, allocations: 9.562 kB / 0.5595 GB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.3444, allocations: 16.89 kB / 0.5595 GB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.012e-05/0.3445, allocations: 165.4 kB / 0.5597 GB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.3445, allocations: 1.5 kB / 0.5597 GB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.3446, allocations: 5.469 kB / 0.5597 GB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.3447, allocations: 58.34 kB / 0.5598 GB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3447, allocations: 4.188 kB / 0.5598 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3448, allocations: 3.938 kB / 0.5598 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3448, allocations: 1.719 kB / 0.5598 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.345, allocations: 50.06 kB / 0.5598 GB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.3453, allocations: 257.9 kB / 0.5601 GB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.3454, allocations: 62.42 kB / 0.5601 GB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.3455, allocations: 28.89 kB / 0.5601 GB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.3455, allocations: 0 / 0.5601 GB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167e-05/0.3455, allocations: 30.56 kB / 0.5602 GB, free: 42.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.3456, allocations: 7.938 kB / 0.5602 GB, free: 42.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003691/0.3459, allocations: 105.5 kB / 0.5603 GB, free: 42.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.346, allocations: 51.41 kB / 0.5603 GB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.139e-05/0.346, allocations: 113.8 kB / 0.5604 GB, free: 41.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.346, allocations: 25.7 kB / 0.5605 GB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.3461, allocations: 88.14 kB / 0.5605 GB, free: 41.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.3461, allocations: 4.031 kB / 0.5606 GB, free: 41.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.3461, allocations: 21.7 kB / 0.5606 GB, free: 41.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.3462, allocations: 314.8 kB / 0.5609 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.3463, allocations: 19.97 kB / 0.5609 GB, free: 41.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-05/0.3463, allocations: 19.98 kB / 0.5609 GB, free: 41.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3465, allocations: 56.88 kB / 0.561 GB, free: 41.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3465, allocations: 0 / 0.561 GB, free: 41.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002017/0.3467, allocations: 85.58 kB / 0.561 GB, free: 41.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.3468, allocations: 4 kB / 0.561 GB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3468, allocations: 0 / 0.561 GB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.3468, allocations: 3.938 kB / 0.5611 GB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.3469, allocations: 16.02 kB / 0.5611 GB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3469, allocations: 0 / 0.5611 GB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/0.347, allocations: 11.92 kB / 0.5611 GB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.347, allocations: 7.984 kB / 0.5611 GB, free: 41.29 MB / 410.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.347, allocations: 113.8 kB / 0.5612 GB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.347, allocations: 0 / 0.5612 GB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.3471, allocations: 7.531 kB / 0.5612 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3471, allocations: 3.984 kB / 0.5612 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3471, allocations: 4 kB / 0.5612 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3471, allocations: 0 / 0.5612 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.3472, allocations: 173.6 kB / 0.5614 GB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3472, allocations: 0 / 0.5614 GB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.974e-05/0.3473, allocations: 11.98 kB / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3473, allocations: 0 / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3473, allocations: 0 / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3473, allocations: 0 / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3473, allocations: 0 / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.3477, allocations: 0.7551 MB / 0.5621 GB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.3478, allocations: 77.11 kB / 0.5622 GB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.3478, allocations: 0 / 0.5622 GB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.3479, allocations: 16.02 kB / 0.5622 GB, free: 40 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.3479, allocations: 0 / 0.5622 GB, free: 40 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3479, allocations: 3.938 kB / 0.5622 GB, free: 40 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.193e-05/0.3479, allocations: 91.52 kB / 0.5623 GB, free: 39.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3479, allocations: 0 / 0.5623 GB, free: 39.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002964/0.3482, allocations: 11.94 kB / 0.5623 GB, free: 39.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 7.254e-05/0.3483, allocations: 95.81 kB / 0.5624 GB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.3485, allocations: 55.95 kB / 0.5625 GB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3486, allocations: 0 / 0.5625 GB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.3487, allocations: 27.97 kB / 0.5625 GB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.3489, allocations: 0 / 0.5625 GB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.3492, allocations: 245.9 kB / 0.5627 GB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.234e-05/0.3493, allocations: 0.677 MB / 0.5634 GB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.251e-05/0.3494, allocations: 3.938 kB / 0.5634 GB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.3494, allocations: 7.438 kB / 0.5634 GB, free: 38.72 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3494, allocations: 4 kB / 0.5634 GB, free: 38.72 MB / 410.7 MB Notification: Performance of Templates: time 0.002178/0.3516, allocations: 0.4993 MB / 0.5639 GB, free: 38.22 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)