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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_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.0009612/0.0009615, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009614/0.0009614, allocations: 172.7 kB / 15.95 MB, free: 208 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.932/1.932, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6841/0.6841, allocations: 95.63 MB / 366 MB, free: 10.37 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006205/0.0006208, allocations: 16 kB / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4374, allocations: 70.34 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008091/0.4383, allocations: 281 kB / 0.5054 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002941/0.4386, allocations: 82.89 kB / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/0.4387, allocations: 0 / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.172e-05/0.4387, allocations: 0 / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.299e-05/0.4387, allocations: 4 kB / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.439, allocations: 11.98 kB / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.873e-05/0.439, allocations: 11.92 kB / 0.5055 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.4391, allocations: 0 / 0.5055 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.298e-05/0.4391, allocations: 4 kB / 0.5055 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.4392, allocations: 3.938 kB / 0.5055 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.4392, allocations: 0 / 0.5055 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.854e-05/0.4393, allocations: 15.98 kB / 0.5055 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.4393, allocations: 0 / 0.5055 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.4394, allocations: 25.7 kB / 0.5055 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.337e-05/0.4394, allocations: 23.97 kB / 0.5055 GB, free: 16.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4395, allocations: 0 / 0.5055 GB, free: 16.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4395, allocations: 0 / 0.5055 GB, free: 16.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.4395, allocations: 0 / 0.5055 GB, free: 16.04 MB / 382.1 MB 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.0002939/0.4398, allocations: 311.4 kB / 0.5058 GB, free: 15.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4398, allocations: 15.98 kB / 0.5058 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.44, allocations: 15.83 kB / 0.5059 GB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.4401, allocations: 163 kB / 0.506 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.4401, allocations: 4 kB / 0.506 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.4402, allocations: 4 kB / 0.506 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.4403, allocations: 41.64 kB / 0.5061 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4403, allocations: 0 / 0.5061 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4403, allocations: 0 / 0.5061 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.4404, allocations: 3.984 kB / 0.5061 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.4404, allocations: 15.98 kB / 0.5061 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.4406, allocations: 151.6 kB / 0.5062 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.4407, allocations: 50.53 kB / 0.5063 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.4408, allocations: 8.922 kB / 0.5063 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.4408, allocations: 4 kB / 0.5063 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.4408, allocations: 34.52 kB / 0.5063 GB, free: 15.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4409, allocations: 0 / 0.5063 GB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002069/0.4411, allocations: 61.67 kB / 0.5064 GB, free: 15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.4411, allocations: 55.34 kB / 0.5064 GB, free: 14.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.367e-05/0.4411, allocations: 89.86 kB / 0.5065 GB, free: 14.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.4411, allocations: 25.7 kB / 0.5065 GB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.606e-05/0.4412, allocations: 80.14 kB / 0.5066 GB, free: 14.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.4412, allocations: 3.906 kB / 0.5066 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.4412, allocations: 4 kB / 0.5066 GB, free: 14.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.4413, allocations: 318.8 kB / 0.5069 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.2e-05/0.4414, allocations: 11.94 kB / 0.5069 GB, free: 14.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.4414, allocations: 7.984 kB / 0.5069 GB, free: 14.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.825e-05/0.4414, allocations: 8 kB / 0.507 GB, free: 14.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4414, allocations: 0 / 0.507 GB, free: 14.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001049/0.4416, allocations: 45.69 kB / 0.507 GB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4416, allocations: 7.984 kB / 0.507 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4416, allocations: 0 / 0.507 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4416, allocations: 3.953 kB / 0.507 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.442, allocations: 47.88 kB / 0.5071 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009257/0.4429, allocations: 1.306 MB / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/0.4429, allocations: 0 / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.4429, allocations: 8.141 kB / 0.5083 GB, free: 12.81 MB / 382.1 MB 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 6.291e-05/0.443, allocations: 113.8 kB / 0.5084 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.443, allocations: 4.328 kB / 0.5084 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.441e-05/0.4431, allocations: 7.453 kB / 0.5085 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4431, allocations: 3.938 kB / 0.5085 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.4431, allocations: 3.984 kB / 0.5085 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.4431, allocations: 0 / 0.5085 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.096e-05/0.4431, allocations: 153.7 kB / 0.5086 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4432, allocations: 3.938 kB / 0.5086 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.4434, allocations: 55.92 kB / 0.5087 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4435, allocations: 0 / 0.5087 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.4435, allocations: 0 / 0.5087 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007433/0.4442, allocations: 1.314 MB / 0.5099 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4442, allocations: 0 / 0.5099 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.902e-05/0.4443, allocations: 73.14 kB / 0.51 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.4444, allocations: 77.11 kB / 0.5101 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-06/0.4444, allocations: 4 kB / 0.5101 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.404e-05/0.4444, allocations: 3.953 kB / 0.5101 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.4444, allocations: 4.062 kB / 0.5101 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.4444, allocations: 0 / 0.5101 GB, free: 10.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.64e-05/0.4445, allocations: 75.28 kB / 0.5102 GB, free: 10.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4445, allocations: 4 kB / 0.5102 GB, free: 10.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001904/0.4447, allocations: 0 / 0.5102 GB, free: 10.69 MB / 382.1 MB 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 8.558e-05/0.4448, allocations: 103.2 kB / 0.5103 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.4451, allocations: 67.8 kB / 0.5103 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4451, allocations: 0 / 0.5103 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.4453, allocations: 35.95 kB / 0.5104 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.4455, allocations: 4 kB / 0.5104 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.4458, allocations: 94.94 kB / 0.5105 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.4459, allocations: 0.677 MB / 0.5111 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.106e-05/0.4459, allocations: 0 / 0.5111 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.4459, allocations: 11.44 kB / 0.5111 GB, free: 9.641 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.446, allocations: 0 / 0.5111 GB, free: 9.641 MB / 382.1 MB Notification: Performance of Templates: time 0.002189/0.4481, allocations: 384.1 kB / 0.5115 GB, free: 9.266 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: