Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001698/0.001698, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002373/0.002373, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.532/1.532, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 58.23 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3787, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002692/0.3815, allocations: 1.508 MB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003172/0.3818, allocations: 91.8 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.3818, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.3819, allocations: 3.938 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.356e-05/0.3819, allocations: 0 / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.3821, allocations: 15.98 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.668e-05/0.3822, allocations: 31.86 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.3823, allocations: 4 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.3823, allocations: 7.984 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.51e-05/0.3824, allocations: 7.938 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3824, allocations: 4 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.324e-05/0.3825, allocations: 23.92 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.3825, allocations: 11.97 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.3825, allocations: 3.938 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.3826, allocations: 27.91 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3826, allocations: 8 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3826, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3827, allocations: 3.938 kB / 1.069 GB, free: 9.164 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.0004516/0.3831, allocations: 343.7 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3832, allocations: 12.03 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.3833, allocations: 12.92 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3835, allocations: 164.3 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3835, allocations: 384 / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.3835, allocations: 8.375 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.3837, allocations: 58.22 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3837, allocations: 4.188 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3838, allocations: 7.922 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3838, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.384, allocations: 43.89 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.3844, allocations: 272.9 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3846, allocations: 50.48 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.3847, allocations: 32.89 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3847, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3848, allocations: 34.56 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.3848, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004153/0.3852, allocations: 105.6 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.3852, allocations: 51.41 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.3853, allocations: 110 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3853, allocations: 25.7 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.3854, allocations: 88.12 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3854, allocations: 7.844 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.3854, allocations: 13.72 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3855, allocations: 318.8 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3857, allocations: 19.98 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.69e-05/0.3858, allocations: 31.97 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.386, allocations: 48.75 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.386, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002432/0.3862, allocations: 89.56 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3862, allocations: 7.984 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3862, allocations: 0 / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3863, allocations: 4 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3864, allocations: 7.984 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3864, allocations: 0 / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.3865, allocations: 8 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.3865, allocations: 256 / 1.071 GB, free: 6.996 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 7.405e-05/0.3866, allocations: 121.8 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.3866, allocations: 4 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.3866, allocations: 3.531 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3866, allocations: 4 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3866, allocations: 3.938 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3866, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.3868, allocations: 169.6 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3868, allocations: 0 / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.307e-05/0.3869, allocations: 15.92 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3869, allocations: 0 / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3869, allocations: 7.938 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3869, allocations: 0 / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3869, allocations: 0 / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.3872, allocations: 175.4 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.3873, allocations: 85.02 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.3873, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.3874, allocations: 16.02 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.3874, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3874, allocations: 7.984 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.3875, allocations: 79.28 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3875, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000214/0.3877, allocations: 4 kB / 1.072 GB, free: 6.215 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.000111/0.3878, allocations: 99.25 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3881, allocations: 55.88 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3881, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3882, allocations: 23.98 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.3885, allocations: 16.19 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.3888, allocations: 127.4 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.3891, allocations: 0.6731 MB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.3891, allocations: 3.984 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.3891, allocations: 11.44 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3891, allocations: 3.938 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of Templates: time 0.002375/0.3915, allocations: 0.5098 MB / 1.073 GB, free: 4.645 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)