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.001599/0.001599, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00205/0.00205, allocations: 198.8 kB / 16.26 MB, free: 6.617 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 78.09 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2962, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001698/0.298, allocations: 0.6464 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002633/0.2982, allocations: 93.91 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.34e-05/0.2983, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.2983, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.674e-05/0.2983, allocations: 7.984 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.2986, allocations: 11.98 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.875e-05/0.2986, allocations: 8 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.2987, allocations: 7.938 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.566e-05/0.2987, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.2987, allocations: 7.984 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2988, allocations: 0 / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.435e-05/0.2988, allocations: 19.92 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.2988, allocations: 3.984 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.2989, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.03e-05/0.299, allocations: 15.98 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.299, allocations: 4 kB / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.299, allocations: 0 / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.299, allocations: 0 / 1.069 GB, free: 9.93 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.000335/0.2993, allocations: 319.6 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2994, allocations: 12.03 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.2995, allocations: 8.922 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.841e-05/0.2996, allocations: 164.3 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2996, allocations: 4.375 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.2996, allocations: 384 / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.2998, allocations: 38.25 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.2998, allocations: 192 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2998, allocations: 11.94 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2998, allocations: 0 / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.2999, allocations: 15.92 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.3, allocations: 153.7 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.3002, allocations: 50.53 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.624e-05/0.3003, allocations: 12.92 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.3003, allocations: 4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.3003, allocations: 30.56 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3003, allocations: 0 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002022/0.3005, allocations: 65.55 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.3006, allocations: 51.41 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.995e-05/0.3006, allocations: 89.86 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.3006, allocations: 25.7 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.3006, allocations: 80.14 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.3007, allocations: 24.02 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.3007, allocations: 9.719 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3008, allocations: 314.8 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.3009, allocations: 11.98 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.3009, allocations: 4.188 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.044e-05/0.301, allocations: 32.86 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.301, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001096/0.3011, allocations: 45.69 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3012, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3012, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3012, allocations: 3.938 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.3016, allocations: 47.92 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.3028, allocations: 1.404 MB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.3029, allocations: 3.984 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3029, allocations: 4.031 kB / 1.071 GB, free: 6.551 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 6.749e-05/0.303, allocations: 113.8 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.303, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.303, allocations: 7.438 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.303, allocations: 4.062 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.303, allocations: 4 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.303, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.434e-05/0.3031, allocations: 161.6 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3031, allocations: 0 / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.3035, allocations: 43.92 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3035, allocations: 8 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3035, allocations: 4 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.3047, allocations: 1.412 MB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3047, allocations: 0 / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.3048, allocations: 77.16 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.3049, allocations: 77.11 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.3049, allocations: 7.922 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.922e-05/0.3049, allocations: 4 kB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.3049, allocations: 3.938 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.305, allocations: 0 / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.743e-05/0.305, allocations: 79.28 kB / 1.073 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.305, allocations: 0 / 1.073 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001967/0.3052, allocations: 4 kB / 1.073 GB, free: 4.312 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.0001218/0.3053, allocations: 103.2 kB / 1.073 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004756/0.3058, allocations: 63.84 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3058, allocations: 0 / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.3061, allocations: 39.95 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.3062, allocations: 3.547 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.3065, allocations: 112.8 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3067, allocations: 0.6768 MB / 1.074 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.3068, allocations: 0 / 1.074 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.3068, allocations: 11.44 kB / 1.074 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3068, allocations: 0 / 1.074 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of Templates: time 0.002168/0.309, allocations: 405.8 kB / 1.075 GB, free: 2.852 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)