Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.526/1.526, allocations: 292.3 MB / 308.1 MB, free: 4.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.001133/0.001133, allocations: 186.3 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205 MB / 0.6353 GB, free: 9.801 MB / 474.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: 96.7 kB / 0.748 GB, free: 60.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2473, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00316/0.2505, allocations: 1.512 MB / 0.9837 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003296/0.2508, allocations: 100.6 kB / 0.9838 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.2509, allocations: 0 / 0.9838 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.2509, allocations: 0 / 0.9838 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.937e-05/0.251, allocations: 0 / 0.9838 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.2512, allocations: 19.92 kB / 0.9838 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.833e-05/0.2513, allocations: 15.98 kB / 0.9838 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.2514, allocations: 11.94 kB / 0.9838 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.801e-05/0.2515, allocations: 11.92 kB / 0.9838 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.914e-05/0.2515, allocations: 11.98 kB / 0.9839 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2515, allocations: 4 kB / 0.9839 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.2516, allocations: 15.98 kB / 0.9839 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.2516, allocations: 3.938 kB / 0.9839 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.2516, allocations: 15.92 kB / 0.9839 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.2518, allocations: 27.91 kB / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2518, allocations: 0 / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2518, allocations: 0 / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2518, allocations: 0 / 0.9839 GB, free: 8.633 MB / 0.7136 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.0005001/0.2523, allocations: 343.7 kB / 0.9842 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2524, allocations: 12.03 kB / 0.9843 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.2525, allocations: 20.83 kB / 0.9843 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2527, allocations: 168.4 kB / 0.9844 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.2527, allocations: 4.375 kB / 0.9844 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2527, allocations: 384 / 0.9844 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.2529, allocations: 54.23 kB / 0.9845 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.253, allocations: 192 / 0.9845 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.253, allocations: 7.922 kB / 0.9845 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.253, allocations: 4 kB / 0.9845 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.2532, allocations: 51.89 kB / 0.9846 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.2536, allocations: 260.9 kB / 0.9848 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.2538, allocations: 62.48 kB / 0.9849 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.2539, allocations: 24.91 kB / 0.9849 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.2539, allocations: 3.938 kB / 0.9849 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.254, allocations: 34.55 kB / 0.9849 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.254, allocations: 7.938 kB / 0.9849 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0004134/0.2544, allocations: 101.5 kB / 0.985 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.2545, allocations: 55.41 kB / 0.9851 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.2546, allocations: 101.9 kB / 0.9852 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.2546, allocations: 25.7 kB / 0.9852 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.2546, allocations: 88.12 kB / 0.9853 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.2546, allocations: 7.844 kB / 0.9853 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.2547, allocations: 13.72 kB / 0.9853 GB, free: 7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.2548, allocations: 319 kB / 0.9856 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2549, allocations: 23.97 kB / 0.9856 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.255, allocations: 23.97 kB / 0.9857 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.2552, allocations: 56.81 kB / 0.9857 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2552, allocations: 7.938 kB / 0.9857 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002378/0.2555, allocations: 77.59 kB / 0.9858 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2555, allocations: 4 kB / 0.9858 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2555, allocations: 0 / 0.9858 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2555, allocations: 0 / 0.9858 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.2556, allocations: 15.98 kB / 0.9858 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2556, allocations: 0 / 0.9858 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.2557, allocations: 12.02 kB / 0.9858 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.2557, allocations: 4 kB / 0.9858 GB, free: 6.449 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.2558, allocations: 113.8 kB / 0.9859 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2558, allocations: 0 / 0.9859 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.2559, allocations: 15.52 kB / 0.9859 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2559, allocations: 0 / 0.9859 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2559, allocations: 0 / 0.9859 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2559, allocations: 0 / 0.9859 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.2561, allocations: 173.8 kB / 0.9861 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2561, allocations: 0 / 0.9861 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-05/0.2562, allocations: 15.98 kB / 0.9861 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2562, allocations: 0 / 0.9861 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.2562, allocations: 0 / 0.9861 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2562, allocations: 0 / 0.9861 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2562, allocations: 0 / 0.9861 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.2568, allocations: 0.7551 MB / 0.9869 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.2569, allocations: 77.11 kB / 0.9869 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.2569, allocations: 0 / 0.9869 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.257, allocations: 11.98 kB / 0.987 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.257, allocations: 7.984 kB / 0.987 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.2571, allocations: 7.969 kB / 0.987 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.2571, allocations: 83.22 kB / 0.987 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2571, allocations: 0 / 0.987 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003025/0.2574, allocations: 8 kB / 0.9871 GB, free: 5.051 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001134/0.2575, allocations: 95.25 kB / 0.9871 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.2578, allocations: 55.94 kB / 0.9872 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2578, allocations: 0 / 0.9872 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.2579, allocations: 27.92 kB / 0.9872 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.2582, allocations: 7.984 kB / 0.9872 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.2586, allocations: 234.2 kB / 0.9875 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2589, allocations: 0.677 MB / 0.9881 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.2589, allocations: 0 / 0.9881 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.259, allocations: 11.44 kB / 0.9881 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.259, allocations: 0 / 0.9881 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of Templates: time 0.002299/0.2613, allocations: 0.514 MB / 0.9886 GB, free: 3.367 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)