Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00104/0.00104, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001057/0.001057, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.635/1.635, allocations: 251.9 MB / 0.51 GB, free: 4.875 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005767/0.0005769, allocations: 16 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6769, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0009779/0.678, allocations: 325.3 kB / 0.7283 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003316/0.6783, allocations: 94.3 kB / 0.7284 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.6784, allocations: 4 kB / 0.7284 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.6784, allocations: 0 / 0.7284 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.6785, allocations: 0 / 0.7284 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.6787, allocations: 12 kB / 0.7284 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.869e-05/0.6788, allocations: 7.969 kB / 0.7284 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.6788, allocations: 0 / 0.7284 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.587e-05/0.6789, allocations: 4 kB / 0.7284 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.837e-05/0.679, allocations: 3.938 kB / 0.7284 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.679, allocations: 4 kB / 0.7284 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.298e-05/0.6791, allocations: 11.98 kB / 0.7284 GB, free: 11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.6791, allocations: 4 kB / 0.7284 GB, free: 11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.6791, allocations: 25.7 kB / 0.7285 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.667e-05/0.6792, allocations: 7.984 kB / 0.7285 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6792, allocations: 0 / 0.7285 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.709e-06/0.6792, allocations: 0 / 0.7285 GB, free: 10.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6793, allocations: 3.938 kB / 0.7285 GB, free: 10.95 MB / 0.545 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.0004115/0.6797, allocations: 330.6 kB / 0.7288 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.6797, allocations: 8.031 kB / 0.7288 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.6799, allocations: 11.98 kB / 0.7288 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.6801, allocations: 163 kB / 0.729 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.6801, allocations: 0 / 0.729 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.6801, allocations: 4 kB / 0.729 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.6803, allocations: 37.69 kB / 0.729 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.6803, allocations: 0 / 0.729 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.6804, allocations: 7.922 kB / 0.729 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6804, allocations: 0 / 0.729 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.6805, allocations: 11.98 kB / 0.729 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.6807, allocations: 163.6 kB / 0.7292 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.6809, allocations: 41.45 kB / 0.7292 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.681, allocations: 3.984 kB / 0.7292 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.681, allocations: 38.62 kB / 0.7292 GB, free: 9.996 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.681, allocations: 0 / 0.7292 GB, free: 9.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002697/0.6813, allocations: 57.7 kB / 0.7293 GB, free: 9.934 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.6813, allocations: 55.41 kB / 0.7294 GB, free: 9.867 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.706e-05/0.6814, allocations: 89.86 kB / 0.7294 GB, free: 9.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.6814, allocations: 25.7 kB / 0.7295 GB, free: 9.738 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.6815, allocations: 80.14 kB / 0.7295 GB, free: 9.656 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.6815, allocations: 7.906 kB / 0.7295 GB, free: 9.648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.6815, allocations: 3.938 kB / 0.7296 GB, free: 9.645 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6817, allocations: 314.8 kB / 0.7299 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.6818, allocations: 7.984 kB / 0.7299 GB, free: 9.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.6818, allocations: 8 kB / 0.7299 GB, free: 9.312 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.622e-05/0.6819, allocations: 11.98 kB / 0.7299 GB, free: 9.301 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6819, allocations: 0 / 0.7299 GB, free: 9.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001532/0.682, allocations: 53.58 kB / 0.7299 GB, free: 9.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.6821, allocations: 4 kB / 0.7299 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6821, allocations: 0 / 0.7299 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.6821, allocations: 0 / 0.7299 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.6827, allocations: 47.92 kB / 0.73 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.6841, allocations: 1.31 MB / 0.7313 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.6841, allocations: 8.188 kB / 0.7313 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.6841, allocations: 12.03 kB / 0.7313 GB, free: 7.73 MB / 0.545 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 9.242e-05/0.6842, allocations: 117.7 kB / 0.7314 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.6842, allocations: 336 / 0.7314 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.6843, allocations: 3.5 kB / 0.7314 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6843, allocations: 7.984 kB / 0.7314 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.6843, allocations: 0 / 0.7314 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.6843, allocations: 0 / 0.7314 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.6844, allocations: 157.6 kB / 0.7316 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6844, allocations: 3.953 kB / 0.7316 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.6848, allocations: 43.94 kB / 0.7316 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6848, allocations: 0 / 0.7316 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.6848, allocations: 0 / 0.7316 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.686, allocations: 1.318 MB / 0.7329 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.686, allocations: 0 / 0.7329 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.6862, allocations: 73.08 kB / 0.733 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.6863, allocations: 84.97 kB / 0.733 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.6863, allocations: 4 kB / 0.733 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.6863, allocations: 0 / 0.733 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.6864, allocations: 8.188 kB / 0.733 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.6864, allocations: 3.984 kB / 0.7331 GB, free: 5.688 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.363e-05/0.6864, allocations: 75.28 kB / 0.7331 GB, free: 5.613 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6864, allocations: 4 kB / 0.7331 GB, free: 5.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002807/0.6867, allocations: 0 / 0.7331 GB, free: 5.609 MB / 0.545 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.000176/0.6869, allocations: 99.25 kB / 0.7332 GB, free: 5.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005793/0.6875, allocations: 59.92 kB / 0.7333 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6875, allocations: 0 / 0.7333 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.6879, allocations: 39.89 kB / 0.7333 GB, free: 5.402 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.688, allocations: 7.938 kB / 0.7333 GB, free: 5.395 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.6884, allocations: 102.9 kB / 0.7334 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.6887, allocations: 0.677 MB / 0.7341 GB, free: 4.566 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.868e-05/0.6888, allocations: 3.953 kB / 0.7341 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.6888, allocations: 15.42 kB / 0.7341 GB, free: 4.547 MB / 0.545 GB Notification: Performance of SimCode: time 4.3e-07/0.6888, allocations: 0 / 0.7341 GB, free: 4.547 MB / 0.545 GB Notification: Performance of Templates: time 0.003137/0.692, allocations: 384 kB / 0.7345 GB, free: 4.172 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: