Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001154/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001421/0.001421, allocations: 193 kB / 16.13 MB, free: 6.664 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 69.75 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3552, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002006/0.3573, allocations: 0.6581 MB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003292/0.3577, allocations: 103.7 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.036e-05/0.3577, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.3577, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.896e-05/0.3578, allocations: 3.938 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.3579, allocations: 7.938 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.216e-05/0.358, allocations: 11.98 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.358, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.796e-05/0.3581, allocations: 7.984 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.563e-05/0.3581, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.3582, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.551e-05/0.3582, allocations: 15.98 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.3582, allocations: 3.938 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.3583, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.567e-05/0.3583, allocations: 11.98 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3584, allocations: 3.984 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.62e-07/0.3584, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.3584, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 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.0003465/0.3587, allocations: 315.6 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3588, allocations: 8.031 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3589, allocations: 16.92 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.51e-05/0.359, allocations: 166.5 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3591, allocations: 384 / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.3591, allocations: 4.312 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.3592, allocations: 42.19 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3592, allocations: 192 / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3593, allocations: 7.938 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3593, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.325e-05/0.3594, allocations: 15.98 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.3595, allocations: 149.7 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3597, allocations: 42.56 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.3597, allocations: 24.84 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.3598, allocations: 3.984 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3598, allocations: 38.5 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3598, allocations: 0 / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002153/0.36, allocations: 57.61 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.3601, allocations: 51.41 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.3601, allocations: 89.86 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3601, allocations: 29.7 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.3602, allocations: 80.14 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.3602, allocations: 16.03 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.3603, allocations: 13.72 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3604, allocations: 314.8 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/0.3605, allocations: 11.94 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.3605, allocations: 7.984 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.328e-05/0.3606, allocations: 20.86 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3606, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001154/0.3607, allocations: 54 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3607, allocations: 5.406 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3608, allocations: 3.984 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3608, allocations: 3.938 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.3612, allocations: 43.94 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.3625, allocations: 1.31 MB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.3626, allocations: 4 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3626, allocations: 4 kB / 1.071 GB, free: 6.809 MB / 0.8262 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 9.593e-05/0.3627, allocations: 109.9 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.3627, allocations: 8.031 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.415e-05/0.3627, allocations: 3.5 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3628, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.3628, allocations: 3.938 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3628, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.3629, allocations: 157.6 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3629, allocations: 3.938 kB / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.3633, allocations: 51.92 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3633, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3633, allocations: 4 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.3645, allocations: 1.306 MB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3645, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.3647, allocations: 93.16 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.3647, allocations: 77.11 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-06/0.3647, allocations: 0 / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.654e-05/0.3648, allocations: 0 / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.3648, allocations: 7.984 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.3648, allocations: 0 / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.899e-05/0.3648, allocations: 75.28 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3649, allocations: 7.938 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001956/0.3651, allocations: 8 kB / 1.073 GB, free: 4.672 MB / 0.8262 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.0001586/0.3652, allocations: 103.2 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.3657, allocations: 67.84 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3657, allocations: 0 / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.366, allocations: 35.95 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.3661, allocations: 1.547 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.3664, allocations: 98.97 kB / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3667, allocations: 0.677 MB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.3667, allocations: 0 / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.3668, allocations: 7.438 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3668, allocations: 4 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of Templates: time 0.002372/0.3692, allocations: 398.8 kB / 1.074 GB, free: 3.223 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)