Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007729/0.000773, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008085/0.0008084, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 274.8 kB / 291.3 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9298/0.9298, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 16.41 kB / 0.598 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1718, allocations: 88.55 MB / 0.6845 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007688/0.1726, allocations: 315.3 kB / 0.6848 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002801/0.1729, allocations: 90.84 kB / 0.6849 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.17e-05/0.1729, allocations: 0 / 0.6849 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.109e-05/0.173, allocations: 0 / 0.6849 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.173, allocations: 0 / 0.6849 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.1732, allocations: 11.98 kB / 0.6849 GB, free: 15 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.54e-05/0.1733, allocations: 7.984 kB / 0.6849 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.1733, allocations: 0 / 0.6849 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.1733, allocations: 8 kB / 0.6849 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/0.1734, allocations: 5.219 kB / 0.6849 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1734, allocations: 4 kB / 0.6849 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.1735, allocations: 11.98 kB / 0.6849 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.255e-06/0.1735, allocations: 0.625 kB / 0.6849 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.1735, allocations: 33.69 kB / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.983e-05/0.1736, allocations: 4.625 kB / 0.685 GB, free: 14.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1736, allocations: 0 / 0.685 GB, free: 14.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1736, allocations: 2.281 kB / 0.685 GB, free: 14.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1736, allocations: 0 / 0.685 GB, free: 14.92 MB / 494.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.0003197/0.174, allocations: 319.4 kB / 0.6853 GB, free: 14.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.174, allocations: 11.97 kB / 0.6853 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.1741, allocations: 8.484 kB / 0.6853 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.828e-05/0.1742, allocations: 172 kB / 0.6855 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1743, allocations: 7.984 kB / 0.6855 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1743, allocations: 0.9375 kB / 0.6855 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1744, allocations: 38.45 kB / 0.6855 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1744, allocations: 0 / 0.6855 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1744, allocations: 4.594 kB / 0.6855 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1744, allocations: 4 kB / 0.6855 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.949e-05/0.1745, allocations: 12.73 kB / 0.6855 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.1746, allocations: 161 kB / 0.6857 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.1748, allocations: 42.59 kB / 0.6857 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.1748, allocations: 8.922 kB / 0.6857 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1749, allocations: 7.984 kB / 0.6857 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.1749, allocations: 35.2 kB / 0.6858 GB, free: 13.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.1749, allocations: 0.7188 kB / 0.6858 GB, free: 13.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001829/0.1751, allocations: 54.16 kB / 0.6858 GB, free: 13.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.1751, allocations: 53.31 kB / 0.6859 GB, free: 13.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.427e-05/0.1752, allocations: 93.84 kB / 0.686 GB, free: 13.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.1752, allocations: 25.7 kB / 0.686 GB, free: 13.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.1752, allocations: 84.14 kB / 0.6861 GB, free: 13.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.1753, allocations: 11.91 kB / 0.6861 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.1753, allocations: 0 / 0.6861 GB, free: 13.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.1754, allocations: 314.8 kB / 0.6864 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.1754, allocations: 4 kB / 0.6864 GB, free: 13.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.1754, allocations: 11.98 kB / 0.6864 GB, free: 13.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/0.1755, allocations: 4 kB / 0.6864 GB, free: 13.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1755, allocations: 0 / 0.6864 GB, free: 13.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.803e-05/0.1756, allocations: 57.52 kB / 0.6864 GB, free: 13.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1756, allocations: 12 kB / 0.6865 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1756, allocations: 0 / 0.6865 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1757, allocations: 0 / 0.6865 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.176, allocations: 39.94 kB / 0.6865 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.1771, allocations: 1.31 MB / 0.6878 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.1771, allocations: 4 kB / 0.6878 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1771, allocations: 4.031 kB / 0.6878 GB, free: 11.7 MB / 494.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 (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 6.834e-05/0.1772, allocations: 114.5 kB / 0.6879 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.1772, allocations: 3.906 kB / 0.6879 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.152e-05/0.1772, allocations: 7.438 kB / 0.6879 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1772, allocations: 4 kB / 0.6879 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.1772, allocations: 4.094 kB / 0.6879 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1772, allocations: 0 / 0.6879 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.401e-05/0.1773, allocations: 161.6 kB / 0.6881 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1774, allocations: 0 / 0.6881 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.1776, allocations: 43.92 kB / 0.6881 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1777, allocations: 0 / 0.6881 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1777, allocations: 8 kB / 0.6881 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009449/0.1786, allocations: 1.302 MB / 0.6894 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1786, allocations: 0 / 0.6894 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.1788, allocations: 81.09 kB / 0.6895 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.1788, allocations: 85.14 kB / 0.6895 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-06/0.1788, allocations: 0 / 0.6895 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.385e-05/0.1788, allocations: 0 / 0.6895 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.1789, allocations: 7.984 kB / 0.6896 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1789, allocations: 0 / 0.6896 GB, free: 9.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.795e-05/0.1789, allocations: 75.28 kB / 0.6896 GB, free: 9.586 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1789, allocations: 0 / 0.6896 GB, free: 9.586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001867/0.1791, allocations: 8 kB / 0.6896 GB, free: 9.578 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 (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.0001181/0.1792, allocations: 99.25 kB / 0.6897 GB, free: 9.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.1796, allocations: 59.91 kB / 0.6898 GB, free: 9.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1796, allocations: 4 kB / 0.6898 GB, free: 9.406 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.1798, allocations: 36.05 kB / 0.6898 GB, free: 9.371 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.18, allocations: 9.828 kB / 0.6898 GB, free: 9.363 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.1803, allocations: 99.05 kB / 0.6899 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.1805, allocations: 0.6731 MB / 0.6906 GB, free: 8.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.1805, allocations: 4 kB / 0.6906 GB, free: 8.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.1806, allocations: 15.42 kB / 0.6906 GB, free: 8.523 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1806, allocations: 0 / 0.6906 GB, free: 8.523 MB / 494.1 MB Notification: Performance of Templates: time 0.001987/0.1826, allocations: 385.2 kB / 0.691 GB, free: 8.148 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)