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.001174/0.001174, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.171/1.171, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.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.511/1.511, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001369/0.001369, allocations: 76.88 kB / 0.6715 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1756, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001772/0.1774, allocations: 0.5822 MB / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002687/0.1777, allocations: 103.7 kB / 0.784 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.577e-05/0.1777, allocations: 0 / 0.784 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.017e-05/0.1777, allocations: 0 / 0.784 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.035e-05/0.1778, allocations: 3.938 kB / 0.784 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.178, allocations: 15.97 kB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.13e-05/0.178, allocations: 7.984 kB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.1781, allocations: 4 kB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.1781, allocations: 0 / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.1782, allocations: 7.938 kB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.1782, allocations: 0 / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.728e-05/0.1783, allocations: 19.98 kB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.1783, allocations: 0 / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.1783, allocations: 3.984 kB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.773e-05/0.1784, allocations: 19.97 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1784, allocations: 3.938 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1784, allocations: 0 / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1784, allocations: 0 / 0.7841 GB, free: 12.7 MB / 0.6075 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.0003052/0.1787, allocations: 322.1 kB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1788, allocations: 12.03 kB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.1789, allocations: 12.92 kB / 0.7845 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.179, allocations: 164.4 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.179, allocations: 384 / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.1791, allocations: 4.375 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1792, allocations: 38.25 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.1792, allocations: 192 / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1792, allocations: 3.938 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1792, allocations: 3.938 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/0.1793, allocations: 15.98 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.1794, allocations: 157.9 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1796, allocations: 34.61 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.1796, allocations: 20.91 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.1797, allocations: 0 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1797, allocations: 34.56 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.1797, allocations: 0 / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000185/0.1799, allocations: 61.55 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.1799, allocations: 51.41 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.117e-05/0.1799, allocations: 93.86 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.18, allocations: 25.7 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/0.18, allocations: 80.14 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.18, allocations: 15.75 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1801, allocations: 13.72 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.1801, allocations: 322.8 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/0.1802, allocations: 4 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.1802, allocations: 7.984 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.954e-05/0.1803, allocations: 17.14 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1803, allocations: 0 / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000105/0.1804, allocations: 61.59 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1804, allocations: 8 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1804, allocations: 0 / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1805, allocations: 3.938 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.1808, allocations: 39.94 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.182, allocations: 1.404 MB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.1821, allocations: 11.97 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.1821, allocations: 0 / 0.7871 GB, free: 9.316 MB / 0.6075 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 6.265e-05/0.1821, allocations: 120.7 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.1821, allocations: 0 / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.317e-05/0.1822, allocations: 7.5 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1822, allocations: 0 / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1822, allocations: 0 / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1822, allocations: 0 / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.231e-05/0.1823, allocations: 161.6 kB / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1823, allocations: 0 / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.1826, allocations: 47.94 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1826, allocations: 0 / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.1826, allocations: 0 / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.1837, allocations: 1.412 MB / 0.7888 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1837, allocations: 3.984 kB / 0.7888 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.1838, allocations: 77.17 kB / 0.7888 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.1839, allocations: 81.05 kB / 0.7889 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.1839, allocations: 11.88 kB / 0.7889 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.45e-05/0.1839, allocations: 0 / 0.7889 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.1839, allocations: 8.047 kB / 0.7889 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.1839, allocations: 4 kB / 0.7889 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.043e-05/0.184, allocations: 75.28 kB / 0.789 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.184, allocations: 0 / 0.789 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001913/0.1842, allocations: 4 kB / 0.789 GB, free: 7.082 MB / 0.6075 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 0.0001177/0.1843, allocations: 99.25 kB / 0.7891 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.1847, allocations: 63.91 kB / 0.7892 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1847, allocations: 4 kB / 0.7892 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.185, allocations: 35.89 kB / 0.7892 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.1851, allocations: 8 kB / 0.7892 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.1854, allocations: 100.8 kB / 0.7893 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.1856, allocations: 0.6729 MB / 0.79 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.1857, allocations: 7.938 kB / 0.79 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.1857, allocations: 11.42 kB / 0.79 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1857, allocations: 0 / 0.79 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of Templates: time 0.00195/0.1876, allocations: 410.2 kB / 0.7904 GB, free: 5.625 MB / 0.6075 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)