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.001226/0.001226, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001199/0.001199, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002172/0.002172, allocations: 286 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8997/0.8997, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 102.3 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1786, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001861/0.1805, allocations: 0.5837 MB / 0.6822 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002816/0.1808, allocations: 111.7 kB / 0.6823 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.1809, allocations: 0 / 0.6823 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.1809, allocations: 0 / 0.6823 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.1809, allocations: 0 / 0.6823 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.1811, allocations: 19.86 kB / 0.6823 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.504e-05/0.1812, allocations: 12 kB / 0.6823 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.1813, allocations: 0 / 0.6823 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.804e-05/0.1813, allocations: 4 kB / 0.6823 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.1813, allocations: 7.969 kB / 0.6823 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1814, allocations: 0 / 0.6823 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.893e-05/0.1814, allocations: 15.98 kB / 0.6823 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1814, allocations: 0 / 0.6823 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.1815, allocations: 7.938 kB / 0.6823 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.659e-05/0.1815, allocations: 11.98 kB / 0.6824 GB, free: 6.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1816, allocations: 0 / 0.6824 GB, free: 6.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1816, allocations: 0 / 0.6824 GB, free: 6.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1816, allocations: 4 kB / 0.6824 GB, free: 6.691 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.0003108/0.1819, allocations: 323.5 kB / 0.6827 GB, free: 6.324 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1819, allocations: 8.031 kB / 0.6827 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.1821, allocations: 8.922 kB / 0.6827 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.762e-05/0.1822, allocations: 164.4 kB / 0.6828 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1822, allocations: 4.375 kB / 0.6828 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.1822, allocations: 384 / 0.6828 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1823, allocations: 42.19 kB / 0.6829 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.1823, allocations: 192 / 0.6829 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1823, allocations: 3.938 kB / 0.6829 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1824, allocations: 4 kB / 0.6829 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.236e-05/0.1824, allocations: 15.92 kB / 0.6829 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.1826, allocations: 157.6 kB / 0.6831 GB, free: 5.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1827, allocations: 50.58 kB / 0.6831 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.1828, allocations: 8.922 kB / 0.6831 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1828, allocations: 11.92 kB / 0.6831 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1828, allocations: 30.56 kB / 0.6832 GB, free: 5.711 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1828, allocations: 0 / 0.6832 GB, free: 5.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001924/0.183, allocations: 57.61 kB / 0.6832 GB, free: 5.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1831, allocations: 51.41 kB / 0.6833 GB, free: 5.586 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.111e-05/0.1831, allocations: 97.86 kB / 0.6834 GB, free: 5.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1831, allocations: 25.7 kB / 0.6834 GB, free: 5.449 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.097e-05/0.1832, allocations: 80.14 kB / 0.6835 GB, free: 5.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.1832, allocations: 11.89 kB / 0.6835 GB, free: 5.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.1832, allocations: 13.72 kB / 0.6835 GB, free: 5.336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.1833, allocations: 310.8 kB / 0.6838 GB, free: 5.023 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.838e-05/0.1834, allocations: 11.98 kB / 0.6838 GB, free: 5.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/0.1834, allocations: 7.938 kB / 0.6838 GB, free: 5.004 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.1835, allocations: 24.84 kB / 0.6838 GB, free: 4.977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1835, allocations: 0 / 0.6838 GB, free: 4.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001006/0.1836, allocations: 45.69 kB / 0.6839 GB, free: 4.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1836, allocations: 10.19 kB / 0.6839 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1836, allocations: 0 / 0.6839 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1837, allocations: 3.938 kB / 0.6839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.184, allocations: 47.92 kB / 0.6839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.1852, allocations: 1.397 MB / 0.6853 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.1852, allocations: 4.078 kB / 0.6853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1853, allocations: 4 kB / 0.6853 GB, free: 3.324 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 (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.497e-05/0.1853, allocations: 117.8 kB / 0.6854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.1853, allocations: 3.906 kB / 0.6854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.223e-05/0.1854, allocations: 3.5 kB / 0.6854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1854, allocations: 336 / 0.6854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.1854, allocations: 0 / 0.6854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1854, allocations: 3.938 kB / 0.6854 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.82e-05/0.1855, allocations: 161.6 kB / 0.6856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1855, allocations: 7.938 kB / 0.6856 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.1858, allocations: 51.91 kB / 0.6856 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1859, allocations: 3.938 kB / 0.6856 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1859, allocations: 0 / 0.6856 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.1869, allocations: 1.404 MB / 0.687 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1869, allocations: 3.938 kB / 0.687 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.187, allocations: 73.16 kB / 0.6871 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.1871, allocations: 77.2 kB / 0.6871 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1871, allocations: 11.92 kB / 0.6872 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.53e-05/0.1871, allocations: 0 / 0.6872 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.1872, allocations: 4 kB / 0.6872 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1872, allocations: 0 / 0.6872 GB, free: 1.172 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.188e-05/0.1872, allocations: 75.28 kB / 0.6872 GB, free: 1.098 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1872, allocations: 0 / 0.6872 GB, free: 1.098 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001885/0.1874, allocations: 4 kB / 0.6872 GB, free: 1.094 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 (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.0001004/0.1875, allocations: 103.2 kB / 0.6873 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004148/0.1879, allocations: 63.84 kB / 0.6874 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1879, allocations: 0 / 0.6874 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.1882, allocations: 43.95 kB / 0.6874 GB, free: 0.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.1883, allocations: 0 / 0.6874 GB, free: 0.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.1886, allocations: 96.02 kB / 0.6875 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.1888, allocations: 0.6768 MB / 0.6882 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.776e-05/0.1888, allocations: 4 kB / 0.6882 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.1888, allocations: 11.44 kB / 0.6882 GB, free: 40 kB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1888, allocations: 0 / 0.6882 GB, free: 40 kB / 494.1 MB Notification: Performance of Templates: time 0.2249/0.4137, allocations: 410.5 kB / 0.6886 GB, free: 17.61 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)