Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.004545/0.004545, allocations: 110.5 kB / 15.7 MB, free: 5.527 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.001109/0.001109, allocations: 198.2 kB / 16.64 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.107/1.107, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.564/1.564, allocations: 292.3 MB / 0.549 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.91 kB / 0.6723 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1725, allocations: 114.6 MB / 0.7841 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00154/0.1741, allocations: 0.5976 MB / 0.7847 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002299/0.1743, allocations: 91.72 kB / 0.7848 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.498e-05/0.1744, allocations: 4 kB / 0.7848 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.347e-06/0.1744, allocations: 0 / 0.7848 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.674e-05/0.1744, allocations: 7.984 kB / 0.7848 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.1746, allocations: 15.92 kB / 0.7848 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.787e-05/0.1746, allocations: 4 kB / 0.7848 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.1747, allocations: 0 / 0.7848 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.586e-05/0.1747, allocations: 8 kB / 0.7848 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.1748, allocations: 7.938 kB / 0.7849 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.405e-06/0.1748, allocations: 0 / 0.7849 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.1748, allocations: 11.98 kB / 0.7849 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.1748, allocations: 19.91 kB / 0.7849 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.395e-05/0.1749, allocations: 0 / 0.7849 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 6.244e-05/0.1749, allocations: 11.98 kB / 0.7849 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1749, allocations: 4 kB / 0.7849 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1749, allocations: 3.938 kB / 0.7849 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1749, allocations: 4 kB / 0.7849 GB, free: 2.324 MB / 0.6544 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.0002486/0.1752, allocations: 311.6 kB / 0.7852 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.1752, allocations: 8.031 kB / 0.7852 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.1754, allocations: 12.92 kB / 0.7852 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.626e-05/0.1754, allocations: 164.4 kB / 0.7854 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1755, allocations: 384 / 0.7854 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.1755, allocations: 4.375 kB / 0.7854 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.683e-05/0.1756, allocations: 42.19 kB / 0.7854 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.1756, allocations: 192 / 0.7854 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1756, allocations: 3.938 kB / 0.7854 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1756, allocations: 0 / 0.7854 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.742e-05/0.1757, allocations: 15.98 kB / 0.7854 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.1758, allocations: 153.7 kB / 0.7856 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1759, allocations: 42.59 kB / 0.7856 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.176, allocations: 8.922 kB / 0.7856 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.176, allocations: 0 / 0.7856 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.176, allocations: 46.48 kB / 0.7857 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.176, allocations: 4 kB / 0.7857 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001656/0.1762, allocations: 57.61 kB / 0.7857 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.1762, allocations: 51.41 kB / 0.7858 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.635e-05/0.1763, allocations: 89.86 kB / 0.7859 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.1763, allocations: 25.7 kB / 0.7859 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.831e-05/0.1763, allocations: 80.14 kB / 0.786 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.1763, allocations: 11.75 kB / 0.786 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.1764, allocations: 21.7 kB / 0.786 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.1764, allocations: 314.8 kB / 0.7863 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.1765, allocations: 4 kB / 0.7863 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.1765, allocations: 11.98 kB / 0.7863 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/0.1766, allocations: 24.78 kB / 0.7864 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1766, allocations: 0 / 0.7864 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.265e-05/0.1767, allocations: 49.69 kB / 0.7864 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.1767, allocations: 4 kB / 0.7864 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/0.1767, allocations: 4 kB / 0.7864 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1767, allocations: 3.938 kB / 0.7864 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.1771, allocations: 47.86 kB / 0.7865 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2845/0.4616, allocations: 1.397 MB / 0.7878 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.4617, allocations: 1.453 kB / 0.7878 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.4617, allocations: 3.875 kB / 0.7878 GB, free: 47.37 MB / 0.6544 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 (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 5.005e-05/0.4617, allocations: 112.5 kB / 0.7879 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.4618, allocations: 7.25 kB / 0.7879 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.31e-05/0.4618, allocations: 4.203 kB / 0.7879 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4618, allocations: 4.125 kB / 0.7879 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.4618, allocations: 0.9375 kB / 0.7879 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4618, allocations: 0 / 0.7879 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.483e-05/0.4619, allocations: 156.4 kB / 0.7881 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4619, allocations: 2.438 kB / 0.7881 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.4622, allocations: 50.64 kB / 0.7881 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4622, allocations: 1.172 kB / 0.7882 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.4622, allocations: 7.438 kB / 0.7882 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007594/0.463, allocations: 1.405 MB / 0.7895 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.463, allocations: 1.781 kB / 0.7895 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.297e-05/0.4631, allocations: 72.12 kB / 0.7896 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.4631, allocations: 77.11 kB / 0.7897 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-06/0.4631, allocations: 3.312 kB / 0.7897 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.437e-05/0.4632, allocations: 7.656 kB / 0.7897 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.4632, allocations: 6.938 kB / 0.7897 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.4632, allocations: 1.625 kB / 0.7897 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.105e-05/0.4632, allocations: 78.47 kB / 0.7898 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.4632, allocations: 0 / 0.7898 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001932/0.4634, allocations: 2.688 kB / 0.7898 GB, free: 45.42 MB / 0.6544 GB 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 8.557e-05/0.4635, allocations: 101 kB / 0.7899 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004171/0.4639, allocations: 63.7 kB / 0.7899 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.464, allocations: 0 / 0.7899 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.4642, allocations: 42.02 kB / 0.79 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.4643, allocations: 0.875 kB / 0.79 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.4646, allocations: 95.84 kB / 0.7901 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.721e-05/0.4647, allocations: 0.6813 MB / 0.7907 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.4647, allocations: 3.625 kB / 0.7907 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.4647, allocations: 7.969 kB / 0.7907 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.4648, allocations: 0 / 0.7907 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.001969/0.4667, allocations: 412.9 kB / 0.7911 GB, free: 44.55 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)