Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001405, allocations: 116.9 kB / 17.09 MB, free: 6.016 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.001526/0.001526, allocations: 196.7 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7366/0.7366, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 72.14 kB / 0.5584 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1496, allocations: 76.18 MB / 0.6328 GB, free: 4.34 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001555/0.1512, allocations: 0.5744 MB / 0.6333 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002584/0.1514, allocations: 83.73 kB / 0.6334 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.1515, allocations: 4 kB / 0.6334 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.1515, allocations: 3.938 kB / 0.6334 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.1515, allocations: 0 / 0.6334 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.1518, allocations: 15.97 kB / 0.6334 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.292e-05/0.1518, allocations: 7.984 kB / 0.6334 GB, free: 3.656 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.1519, allocations: 8 kB / 0.6335 GB, free: 3.648 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.1519, allocations: 3.938 kB / 0.6335 GB, free: 3.645 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.152, allocations: 12 kB / 0.6335 GB, free: 3.633 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.152, allocations: 0 / 0.6335 GB, free: 3.633 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.536e-05/0.152, allocations: 19.86 kB / 0.6335 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.1521, allocations: 4 kB / 0.6335 GB, free: 3.609 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.1521, allocations: 3.984 kB / 0.6335 GB, free: 3.605 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.936e-05/0.1522, allocations: 15.91 kB / 0.6335 GB, free: 3.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1522, allocations: 0 / 0.6335 GB, free: 3.59 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1522, allocations: 4 kB / 0.6335 GB, free: 3.586 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1522, allocations: 0 / 0.6335 GB, free: 3.586 MB / 478.1 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.0003784/0.1526, allocations: 315.9 kB / 0.6338 GB, free: 3.227 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1526, allocations: 20.02 kB / 0.6338 GB, free: 3.207 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.1528, allocations: 8.922 kB / 0.6338 GB, free: 3.199 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1529, allocations: 160.4 kB / 0.634 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1529, allocations: 384 / 0.634 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.1529, allocations: 384 / 0.634 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1531, allocations: 42.25 kB / 0.634 GB, free: 2.957 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1531, allocations: 192 / 0.634 GB, free: 2.957 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1531, allocations: 3.938 kB / 0.634 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1531, allocations: 4 kB / 0.634 GB, free: 2.949 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.1532, allocations: 19.92 kB / 0.6341 GB, free: 2.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.1534, allocations: 145.7 kB / 0.6342 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1535, allocations: 46.59 kB / 0.6343 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.1536, allocations: 12.91 kB / 0.6343 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.1536, allocations: 4 kB / 0.6343 GB, free: 2.664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1536, allocations: 38.56 kB / 0.6343 GB, free: 2.617 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1537, allocations: 0 / 0.6343 GB, free: 2.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001984/0.1539, allocations: 65.55 kB / 0.6344 GB, free: 2.547 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.1539, allocations: 51.41 kB / 0.6344 GB, free: 2.484 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.039e-05/0.1539, allocations: 89.86 kB / 0.6345 GB, free: 2.387 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.154, allocations: 25.7 kB / 0.6345 GB, free: 2.355 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.154, allocations: 88.08 kB / 0.6346 GB, free: 2.266 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.154, allocations: 11.75 kB / 0.6346 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.1541, allocations: 17.72 kB / 0.6346 GB, free: 2.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1542, allocations: 314.8 kB / 0.6349 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.1542, allocations: 4 kB / 0.6349 GB, free: 1.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.1543, allocations: 11.98 kB / 0.635 GB, free: 1.898 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.684e-05/0.1543, allocations: 20.84 kB / 0.635 GB, free: 1.875 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1544, allocations: 4 kB / 0.635 GB, free: 1.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001088/0.1545, allocations: 57.62 kB / 0.635 GB, free: 1.809 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1545, allocations: 4 kB / 0.635 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1545, allocations: 0 / 0.635 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1545, allocations: 3.938 kB / 0.635 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.1549, allocations: 39.94 kB / 0.6351 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.1561, allocations: 1.404 MB / 0.6364 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.1562, allocations: 3.938 kB / 0.6365 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-06/0.1562, allocations: 4.031 kB / 0.6365 GB, free: 216 kB / 478.1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/0.1563, allocations: 117.9 kB / 0.6366 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.1563, allocations: 0 / 0.6366 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.471e-05/0.1563, allocations: 7.5 kB / 0.6366 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1563, allocations: 0 / 0.6366 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.1563, allocations: 4.328 kB / 0.6366 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1563, allocations: 0 / 0.6366 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.1564, allocations: 153.6 kB / 0.6367 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1564, allocations: 4 kB / 0.6367 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.1568, allocations: 43.94 kB / 0.6368 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.1568, allocations: 7.984 kB / 0.6368 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1568, allocations: 7.984 kB / 0.6368 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.1579, allocations: 1.404 MB / 0.6382 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1579, allocations: 4.031 kB / 0.6382 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.1581, allocations: 73.05 kB / 0.6382 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.1581, allocations: 77.11 kB / 0.6383 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-06/0.1581, allocations: 3.938 kB / 0.6383 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.653e-05/0.1582, allocations: 4 kB / 0.6383 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.1582, allocations: 12.05 kB / 0.6383 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1582, allocations: 0 / 0.6383 GB, free: 14.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.872e-05/0.1582, allocations: 75.28 kB / 0.6384 GB, free: 13.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1582, allocations: 3.938 kB / 0.6384 GB, free: 13.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001942/0.1584, allocations: 4 kB / 0.6384 GB, free: 13.98 MB / 494.1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001553/0.1586, allocations: 99.86 kB / 0.6385 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004567/0.1591, allocations: 63.91 kB / 0.6386 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1591, allocations: 0 / 0.6386 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.1594, allocations: 59.86 kB / 0.6386 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.1596, allocations: 4 kB / 0.6386 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.1599, allocations: 118.7 kB / 0.6387 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.1601, allocations: 0.6729 MB / 0.6394 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.1602, allocations: 11.42 kB / 0.6394 GB, free: 12.88 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1602, allocations: 0 / 0.6394 GB, free: 12.88 MB / 494.1 MB Notification: Performance of Templates: time 0.001931/0.1621, allocations: 0.5975 MB / 0.64 GB, free: 12.29 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)