Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009139/0.000914, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005614/0.005614, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 7.938 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3423, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001541/0.3439, allocations: 1.173 MB / 1.075 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000285/0.3442, allocations: 95.75 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.3443, allocations: 0 / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.3443, allocations: 0 / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.3443, allocations: 4 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.3445, allocations: 15.92 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.3446, allocations: 19.98 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.5e-05/0.3447, allocations: 4 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.151e-05/0.3447, allocations: 11.92 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.931e-05/0.3448, allocations: 19.86 kB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.3448, allocations: 0 / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.223e-05/0.3448, allocations: 19.98 kB / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.3449, allocations: 0 / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.3449, allocations: 45.62 kB / 1.076 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.786e-05/0.345, allocations: 23.91 kB / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.345, allocations: 3.984 kB / 1.076 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.345, allocations: 0 / 1.076 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.345, allocations: 0 / 1.076 GB, free: 6.105 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.0004139/0.3454, allocations: 343.7 kB / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3455, allocations: 8.031 kB / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.3456, allocations: 20.92 kB / 1.076 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3458, allocations: 168.4 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3458, allocations: 384 / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3458, allocations: 384 / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.346, allocations: 66.22 kB / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.346, allocations: 192 / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.346, allocations: 7.938 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3461, allocations: 3.984 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.3463, allocations: 63.89 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.3467, allocations: 268.9 kB / 1.076 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3469, allocations: 66.48 kB / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.347, allocations: 40.89 kB / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.347, allocations: 0 / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.347, allocations: 30.56 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3471, allocations: 0 / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004452/0.3475, allocations: 129.7 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.3475, allocations: 55.41 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.542e-05/0.3476, allocations: 105.8 kB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3477, allocations: 29.64 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.3477, allocations: 84.08 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3477, allocations: 15.84 kB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.3477, allocations: 9.719 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3479, allocations: 310.8 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.348, allocations: 35.97 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.3481, allocations: 31.97 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.3483, allocations: 72.81 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3483, allocations: 0 / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002717/0.3486, allocations: 97.59 kB / 1.078 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3486, allocations: 4 kB / 1.078 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3486, allocations: 0 / 1.078 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.3487, allocations: 4 kB / 1.078 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3488, allocations: 16.02 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3488, allocations: 0 / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.3488, allocations: 12.23 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.3489, allocations: 4 kB / 1.078 GB, free: 3.816 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 (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 6.723e-05/0.3489, allocations: 109.8 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.349, allocations: 11.89 kB / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.349, allocations: 11.53 kB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.349, allocations: 4 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.349, allocations: 0 / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.349, allocations: 0 / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3492, allocations: 165.6 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3492, allocations: 0 / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.129e-05/0.3493, allocations: 15.92 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.3493, allocations: 4 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3493, allocations: 0 / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3493, allocations: 0 / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3493, allocations: 4 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.3496, allocations: 195.4 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.3497, allocations: 77.11 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3497, allocations: 4 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.3498, allocations: 11.98 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.3498, allocations: 0 / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.3498, allocations: 0 / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.3499, allocations: 87.27 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3499, allocations: 7.938 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002163/0.3501, allocations: 8.031 kB / 1.078 GB, free: 3.016 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 (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.0001089/0.3502, allocations: 99.19 kB / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.3505, allocations: 63.95 kB / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3505, allocations: 0 / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.3506, allocations: 39.91 kB / 1.078 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3509, allocations: 3.938 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.3512, allocations: 140.7 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.3515, allocations: 0.677 MB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.3515, allocations: 0 / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.3516, allocations: 7.438 kB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of SimCode: time 1.774e-06/0.3516, allocations: 4 kB / 1.079 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of Templates: time 0.002458/0.354, allocations: 0.5084 MB / 1.08 GB, free: 1.422 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)