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 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.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.0008786/0.0008786, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4648/0.4648, allocations: 90.92 MB / 99.35 MB, free: 2.156 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.5 MB / 343.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009816, allocations: 94.69 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.504e-05/1.5e-05, allocations: 7.203 kB / 494.5 MB, free: 52.37 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 72.32 MB / 0.5535 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4341/0.5531, allocations: 100.1 MB / 0.6513 GB, free: 10.11 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.5534, allocations: 73.89 kB / 0.6514 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002298/0.5557, allocations: 0.9516 MB / 0.6523 GB, free: 9.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5557, allocations: 0 / 0.6523 GB, free: 9.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.5557, allocations: 4 kB / 0.6523 GB, free: 9.246 MB / 458.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.0002909/0.556, allocations: 318.2 kB / 0.6526 GB, free: 8.895 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.5561, allocations: 8.031 kB / 0.6526 GB, free: 8.887 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.5563, allocations: 12.56 kB / 0.6526 GB, free: 8.875 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.5564, allocations: 159.1 kB / 0.6528 GB, free: 8.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.5564, allocations: 0 / 0.6528 GB, free: 8.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.5565, allocations: 7.062 kB / 0.6528 GB, free: 8.676 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.395e-05/0.5566, allocations: 7.984 kB / 0.6528 GB, free: 8.668 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.963e-05/0.5566, allocations: 45.25 kB / 0.6528 GB, free: 8.621 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5567, allocations: 0 / 0.6528 GB, free: 8.621 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.5567, allocations: 0 / 0.6528 GB, free: 8.621 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5567, allocations: 3.953 kB / 0.6528 GB, free: 8.617 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.5568, allocations: 134.1 kB / 0.653 GB, free: 8.449 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.557, allocations: 30.3 kB / 0.653 GB, free: 8.414 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.557, allocations: 12.55 kB / 0.653 GB, free: 8.402 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.557, allocations: 4 kB / 0.653 GB, free: 8.398 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.5571, allocations: 34.56 kB / 0.653 GB, free: 8.355 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5571, allocations: 0 / 0.653 GB, free: 8.355 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001588/0.5572, allocations: 45.41 kB / 0.6531 GB, free: 8.309 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.5573, allocations: 51.41 kB / 0.6531 GB, free: 8.246 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.416e-05/0.5573, allocations: 85 kB / 0.6532 GB, free: 8.156 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5574, allocations: 25.7 kB / 0.6532 GB, free: 8.125 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.5574, allocations: 80.14 kB / 0.6533 GB, free: 8.043 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.5574, allocations: 7.906 kB / 0.6533 GB, free: 8.035 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.5575, allocations: 0 / 0.6533 GB, free: 8.035 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5576, allocations: 322.3 kB / 0.6536 GB, free: 7.715 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.5576, allocations: 0 / 0.6536 GB, free: 7.715 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.5576, allocations: 4 kB / 0.6536 GB, free: 7.711 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.5577, allocations: 11.48 kB / 0.6537 GB, free: 7.703 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5577, allocations: 0.75 kB / 0.6537 GB, free: 7.703 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.927e-05/0.5578, allocations: 37.88 kB / 0.6537 GB, free: 7.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5578, allocations: 4 kB / 0.6537 GB, free: 7.656 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5578, allocations: 7.938 kB / 0.6537 GB, free: 7.648 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5578, allocations: 4 kB / 0.6537 GB, free: 7.645 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.5582, allocations: 43.86 kB / 0.6537 GB, free: 7.602 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.5592, allocations: 1.237 MB / 0.655 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.5593, allocations: 4.031 kB / 0.655 GB, free: 6.266 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.5593, allocations: 3.938 kB / 0.655 GB, free: 6.262 MB / 458.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 () * 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 9.687e-05/0.5594, allocations: 112.7 kB / 0.6551 GB, free: 6.148 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.5594, allocations: 4 kB / 0.6551 GB, free: 6.145 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.025e-05/0.5594, allocations: 4.125 kB / 0.6551 GB, free: 6.137 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.5594, allocations: 0 / 0.6551 GB, free: 6.137 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5595, allocations: 6.734 kB / 0.6551 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5595, allocations: 0 / 0.6551 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.213e-05/0.5596, allocations: 130.2 kB / 0.6552 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5596, allocations: 0 / 0.6552 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.5599, allocations: 55.62 kB / 0.6553 GB, free: 5.918 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5599, allocations: 3.938 kB / 0.6553 GB, free: 5.914 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.5599, allocations: 4 kB / 0.6553 GB, free: 5.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008424/0.5608, allocations: 1.238 MB / 0.6565 GB, free: 4.57 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5608, allocations: 0 / 0.6565 GB, free: 4.57 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.723e-05/0.5609, allocations: 64.91 kB / 0.6565 GB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.5609, allocations: 81.11 kB / 0.6566 GB, free: 4.395 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-06/0.5609, allocations: 4 kB / 0.6566 GB, free: 4.391 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.159e-05/0.561, allocations: 4.859 kB / 0.6566 GB, free: 4.387 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.561, allocations: 7.922 kB / 0.6566 GB, free: 4.379 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.561, allocations: 4 kB / 0.6566 GB, free: 4.375 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.907e-05/0.5611, allocations: 75.28 kB / 0.6567 GB, free: 4.301 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5611, allocations: 0 / 0.6567 GB, free: 4.301 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.5612, allocations: 4 kB / 0.6567 GB, free: 4.297 MB / 458.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 () * 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.00014/0.5614, allocations: 99.25 kB / 0.6568 GB, free: 4.191 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003515/0.5617, allocations: 43.56 kB / 0.6568 GB, free: 4.152 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5618, allocations: 0 / 0.6568 GB, free: 4.152 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.5619, allocations: 31.97 kB / 0.6569 GB, free: 4.121 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.497e-05/0.562, allocations: 3.938 kB / 0.6569 GB, free: 4.117 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.5622, allocations: 65.09 kB / 0.6569 GB, free: 4.035 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.5625, allocations: 0.6768 MB / 0.6576 GB, free: 3.332 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.234e-05/0.5625, allocations: 0 / 0.6576 GB, free: 3.332 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.5625, allocations: 11.44 kB / 0.6576 GB, free: 3.32 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5626, allocations: 4 kB / 0.6576 GB, free: 3.316 MB / 458.7 MB Notification: Performance of Templates: time 0.001922/0.5645, allocations: 372.8 kB / 0.658 GB, free: 2.961 MB / 458.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)