Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.611/2.611, allocations: 287.5 MB / 302.4 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 182.9 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 94.39 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000691/0.0006912, allocations: 12.23 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2104, allocations: 115.3 MB / 0.9783 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001641/0.2121, allocations: 1.156 MB / 0.9795 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002576/0.2124, allocations: 92.69 kB / 0.9796 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.2124, allocations: 0 / 0.9796 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.2125, allocations: 0 / 0.9796 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.2125, allocations: 3.938 kB / 0.9796 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.2127, allocations: 15.97 kB / 0.9796 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.419e-05/0.2128, allocations: 19.92 kB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.2129, allocations: 11.98 kB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.2129, allocations: 11.92 kB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.384e-05/0.213, allocations: 0 / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.213, allocations: 8 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.2131, allocations: 15.98 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.2131, allocations: 15.86 kB / 0.9797 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.2131, allocations: 25.7 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.66e-05/0.2132, allocations: 15.97 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2132, allocations: 0 / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.614e-06/0.2132, allocations: 3.938 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2133, allocations: 0 / 0.9797 GB, free: 27 MB / 0.6198 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.0004199/0.2137, allocations: 351.5 kB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2137, allocations: 16.02 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.214, allocations: 11.98 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.862e-05/0.2141, allocations: 171 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.2141, allocations: 0 / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.2141, allocations: 4 kB / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.2144, allocations: 73.59 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2144, allocations: 0 / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2145, allocations: 0 / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.2145, allocations: 0 / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.2148, allocations: 67.94 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.2152, allocations: 264.8 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.2155, allocations: 62.48 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.2157, allocations: 36.89 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2158, allocations: 4 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.2158, allocations: 38.56 kB / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.2158, allocations: 0 / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0006445/0.2164, allocations: 121.7 kB / 0.9809 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.2165, allocations: 51.41 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.2166, allocations: 109.8 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2166, allocations: 29.7 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.2166, allocations: 80.14 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.2167, allocations: 7.844 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.2167, allocations: 32 / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.185e-05/0.2167, allocations: 334.7 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.2169, allocations: 27.98 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.2171, allocations: 31.97 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.2173, allocations: 31.97 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2173, allocations: 0 / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003929/0.2177, allocations: 93.72 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2177, allocations: 4 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2178, allocations: 0 / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.2178, allocations: 0 / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.218, allocations: 19.92 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.218, allocations: 4.031 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.2181, allocations: 11.98 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2181, allocations: 3.938 kB / 0.9817 GB, free: 24.76 MB / 0.6198 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/0.2182, allocations: 117.8 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.2182, allocations: 7.844 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.2183, allocations: 7.516 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2183, allocations: 0 / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2183, allocations: 8 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2183, allocations: 0 / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.2185, allocations: 165.6 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2185, allocations: 0 / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.2186, allocations: 15.98 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2186, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2187, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2187, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2187, allocations: 3.984 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.2191, allocations: 195.5 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.2191, allocations: 85.12 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.2192, allocations: 0 / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.2193, allocations: 15.98 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.2194, allocations: 4 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.2194, allocations: 0 / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.2194, allocations: 87.45 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2194, allocations: 0 / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002872/0.2197, allocations: 4 kB / 0.9824 GB, free: 23.96 MB / 0.6198 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001066/0.2199, allocations: 103.2 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.2203, allocations: 63.95 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2203, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.2205, allocations: 31.97 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2208, allocations: 11.95 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.2212, allocations: 141.2 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.2214, allocations: 0.6772 MB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.475e-05/0.2214, allocations: 0 / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.2215, allocations: 7.438 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.2215, allocations: 4 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.002819/0.2243, allocations: 0.49 MB / 0.9838 GB, free: 22.38 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)