Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.876/2.876, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001531/0.001531, allocations: 186.8 kB / 370.8 MB, free: 10.86 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.115/2.115, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001172/0.001172, allocations: 100.9 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006829/0.000683, allocations: 12.94 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2302, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.000755/0.231, allocations: 333.7 kB / 0.9785 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000263/0.2313, allocations: 93.5 kB / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.2313, allocations: 0 / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.2313, allocations: 0 / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.818e-05/0.2314, allocations: 0 / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.2316, allocations: 15.91 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.303e-05/0.2316, allocations: 4 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.2317, allocations: 4 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.805e-05/0.2317, allocations: 0 / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.2318, allocations: 4 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.2318, allocations: 0 / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.623e-05/0.2319, allocations: 19.92 kB / 0.9786 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.2319, allocations: 4 kB / 0.9787 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.2319, allocations: 25.7 kB / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.504e-05/0.232, allocations: 7.984 kB / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.232, allocations: 0 / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.232, allocations: 0 / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.232, allocations: 0 / 0.9787 GB, free: 27.88 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.0002435/0.2323, allocations: 315.4 kB / 0.979 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2323, allocations: 8.031 kB / 0.979 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.2325, allocations: 15.92 kB / 0.979 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.794e-05/0.2326, allocations: 167 kB / 0.9792 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.2326, allocations: 4 kB / 0.9792 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.2326, allocations: 0 / 0.9792 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.2328, allocations: 33.69 kB / 0.9792 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2328, allocations: 0 / 0.9792 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2328, allocations: 3.984 kB / 0.9792 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2328, allocations: 4 kB / 0.9792 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.233, allocations: 15.98 kB / 0.9792 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.2331, allocations: 157.9 kB / 0.9794 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.2333, allocations: 46.59 kB / 0.9794 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.2334, allocations: 3.938 kB / 0.9794 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2334, allocations: 30.56 kB / 0.9795 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.2334, allocations: 4 kB / 0.9795 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002597/0.2337, allocations: 57.77 kB / 0.9795 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.2337, allocations: 55.34 kB / 0.9796 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.326e-05/0.2337, allocations: 89.86 kB / 0.9797 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.2338, allocations: 25.7 kB / 0.9797 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.658e-05/0.2338, allocations: 80.14 kB / 0.9798 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.2338, allocations: 15.75 kB / 0.9798 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.2338, allocations: 0 / 0.9798 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.2339, allocations: 318.8 kB / 0.9801 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.753e-05/0.234, allocations: 7.984 kB / 0.9801 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.234e-05/0.2341, allocations: 7.938 kB / 0.9801 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.696e-05/0.2342, allocations: 12.27 kB / 0.9801 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2342, allocations: 0 / 0.9801 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001526/0.2343, allocations: 53.62 kB / 0.9801 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2344, allocations: 4 kB / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2344, allocations: 0 / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2344, allocations: 8 kB / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.235, allocations: 43.86 kB / 0.9802 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.2365, allocations: 1.306 MB / 0.9815 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.2365, allocations: 8.281 kB / 0.9815 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2365, allocations: 3.984 kB / 0.9815 GB, free: 24.67 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 (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 7.101e-05/0.2366, allocations: 119.8 kB / 0.9816 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.2366, allocations: 4 kB / 0.9816 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.731e-05/0.2367, allocations: 3.5 kB / 0.9816 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2367, allocations: 0 / 0.9816 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2367, allocations: 0 / 0.9816 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2367, allocations: 0 / 0.9816 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.944e-05/0.2368, allocations: 153.7 kB / 0.9818 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2368, allocations: 7.953 kB / 0.9818 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/0.2374, allocations: 47.92 kB / 0.9818 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2374, allocations: 0 / 0.9818 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2375, allocations: 0 / 0.9818 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.2388, allocations: 1.31 MB / 0.9831 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2388, allocations: 0 / 0.9831 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.239, allocations: 77.17 kB / 0.9832 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.239, allocations: 85.06 kB / 0.9832 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.239, allocations: 0 / 0.9832 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.147e-05/0.2391, allocations: 4.188 kB / 0.9832 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.2391, allocations: 3.984 kB / 0.9833 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2391, allocations: 4 kB / 0.9833 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.895e-05/0.2392, allocations: 79.22 kB / 0.9833 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2392, allocations: 3.938 kB / 0.9833 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002992/0.2395, allocations: 8 kB / 0.9833 GB, free: 22.54 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 (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.0001175/0.2396, allocations: 99.25 kB / 0.9834 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007183/0.2403, allocations: 59.91 kB / 0.9835 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2403, allocations: 3.938 kB / 0.9835 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.2407, allocations: 39.97 kB / 0.9835 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.861e-05/0.2409, allocations: 3.984 kB / 0.9835 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.2412, allocations: 94.97 kB / 0.9836 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.2413, allocations: 0.677 MB / 0.9843 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.964e-05/0.2414, allocations: 7.938 kB / 0.9843 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.2414, allocations: 15.44 kB / 0.9843 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.2414, allocations: 0 / 0.9843 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of Templates: time 0.002675/0.2441, allocations: 379 kB / 0.9847 GB, free: 21.12 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)