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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.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/Complex 4.0.0+maint.om/package.mo): time 0.0008732/0.0008732, allocations: 177 kB / 16.76 MB, free: 4.945 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4481/0.4481, allocations: 86.28 MB / 103.8 MB, free: 14.56 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.542/1.542, allocations: 223.2 MB / 348.4 MB, free: 5.012 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.0009186/0.0009184, allocations: 95.58 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003982, allocations: 15.98 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3751, allocations: 71.01 MB / 0.5595 GB, free: 43.7 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.5106, allocations: 99.44 MB / 0.6566 GB, free: 10.08 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.5109, allocations: 76.52 kB / 0.6566 GB, free: 10.01 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002287/0.5132, allocations: 0.9622 MB / 0.6576 GB, free: 9.051 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5132, allocations: 0 / 0.6576 GB, free: 9.051 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.5132, allocations: 0 / 0.6576 GB, free: 9.051 MB / 474.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.0002608/0.5135, allocations: 317.5 kB / 0.6579 GB, free: 8.691 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.5135, allocations: 12.03 kB / 0.6579 GB, free: 8.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.5137, allocations: 8.922 kB / 0.6579 GB, free: 8.672 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5138, allocations: 164.4 kB / 0.6581 GB, free: 8.473 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.5138, allocations: 1.562 kB / 0.6581 GB, free: 8.473 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.5138, allocations: 8.312 kB / 0.6581 GB, free: 8.465 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.5139, allocations: 42.09 kB / 0.6581 GB, free: 8.422 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.514, allocations: 4.125 kB / 0.6581 GB, free: 8.418 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.514, allocations: 3.938 kB / 0.6581 GB, free: 8.414 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.514, allocations: 0 / 0.6581 GB, free: 8.414 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.516e-05/0.5141, allocations: 15.92 kB / 0.6581 GB, free: 8.398 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.5142, allocations: 157.7 kB / 0.6583 GB, free: 8.195 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.5144, allocations: 38.56 kB / 0.6583 GB, free: 8.148 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.5144, allocations: 16.91 kB / 0.6583 GB, free: 8.129 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.5145, allocations: 4 kB / 0.6583 GB, free: 8.125 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.5145, allocations: 30.56 kB / 0.6584 GB, free: 8.086 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.5145, allocations: 0 / 0.6584 GB, free: 8.086 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002098/0.5147, allocations: 61.55 kB / 0.6584 GB, free: 8.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.5148, allocations: 59.41 kB / 0.6585 GB, free: 7.949 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.115e-05/0.5148, allocations: 89.86 kB / 0.6586 GB, free: 7.852 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.5149, allocations: 25.7 kB / 0.6586 GB, free: 7.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.5149, allocations: 84.12 kB / 0.6587 GB, free: 7.734 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.5149, allocations: 7.812 kB / 0.6587 GB, free: 7.727 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.5149, allocations: 4 kB / 0.6587 GB, free: 7.723 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5151, allocations: 310.8 kB / 0.659 GB, free: 7.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.102e-05/0.5151, allocations: 11.98 kB / 0.659 GB, free: 7.398 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.5151, allocations: 8 kB / 0.659 GB, free: 7.391 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.316e-05/0.5152, allocations: 24.78 kB / 0.659 GB, free: 7.363 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5152, allocations: 0 / 0.659 GB, free: 7.363 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001076/0.5153, allocations: 45.69 kB / 0.6591 GB, free: 7.312 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5154, allocations: 7.984 kB / 0.6591 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.5154, allocations: 0 / 0.6591 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5154, allocations: 7.938 kB / 0.6591 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.5157, allocations: 40.27 kB / 0.6591 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.5169, allocations: 1.313 MB / 0.6604 GB, free: 5.809 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.5169, allocations: 4 kB / 0.6604 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.5169, allocations: 3.984 kB / 0.6604 GB, free: 5.801 MB / 474.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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.36e-05/0.517, allocations: 114 kB / 0.6605 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.517, allocations: 3.938 kB / 0.6605 GB, free: 5.676 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.274e-05/0.517, allocations: 3.5 kB / 0.6605 GB, free: 5.672 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.5171, allocations: 0 / 0.6605 GB, free: 5.672 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.5171, allocations: 3.938 kB / 0.6605 GB, free: 5.668 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.5171, allocations: 4 kB / 0.6605 GB, free: 5.664 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.659e-05/0.5172, allocations: 153.6 kB / 0.6607 GB, free: 5.465 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5172, allocations: 0 / 0.6607 GB, free: 5.465 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.5175, allocations: 47.94 kB / 0.6607 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5175, allocations: 3.984 kB / 0.6607 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.5175, allocations: 0 / 0.6607 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.5186, allocations: 1.306 MB / 0.662 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5186, allocations: 8 kB / 0.662 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.5187, allocations: 81.02 kB / 0.6621 GB, free: 3.871 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.5187, allocations: 81.11 kB / 0.6622 GB, free: 3.773 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.5188, allocations: 4 kB / 0.6622 GB, free: 3.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.616e-05/0.5188, allocations: 0 / 0.6622 GB, free: 3.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.5188, allocations: 4.031 kB / 0.6622 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.5188, allocations: 4 kB / 0.6622 GB, free: 3.762 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.434e-05/0.5189, allocations: 79.28 kB / 0.6623 GB, free: 3.684 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5189, allocations: 0 / 0.6623 GB, free: 3.684 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.5191, allocations: 8 kB / 0.6623 GB, free: 3.676 MB / 474.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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.5192, allocations: 103.2 kB / 0.6624 GB, free: 3.562 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.5196, allocations: 59.92 kB / 0.6624 GB, free: 3.504 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5196, allocations: 0 / 0.6624 GB, free: 3.504 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.5199, allocations: 39.89 kB / 0.6625 GB, free: 3.465 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.52, allocations: 2.062 kB / 0.6625 GB, free: 3.465 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.5203, allocations: 98.97 kB / 0.6626 GB, free: 3.34 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.5205, allocations: 0.6731 MB / 0.6632 GB, free: 2.641 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.847e-05/0.5206, allocations: 4 kB / 0.6632 GB, free: 2.637 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.5206, allocations: 7.438 kB / 0.6632 GB, free: 2.629 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5206, allocations: 0 / 0.6632 GB, free: 2.629 MB / 474.7 MB Notification: Performance of Templates: time 0.001992/0.5226, allocations: 379.9 kB / 0.6636 GB, free: 2.258 MB / 474.7 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)