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 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.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.0008696/0.0008697, allocations: 91.38 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.00086/0.0008603, 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.945/1.945, 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.7114/0.7114, allocations: 95.63 MB / 366 MB, free: 10.36 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.0006307/0.0006309, allocations: 16 kB / 446.8 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5768, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002234/0.5791, allocations: 1.122 MB / 0.5062 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003806/0.5796, allocations: 68.42 kB / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.5797, allocations: 3.938 kB / 0.5062 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.5797, allocations: 3.938 kB / 0.5062 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.331e-05/0.5798, allocations: 3.984 kB / 0.5062 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.5801, allocations: 11.98 kB / 0.5063 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.5802, allocations: 23.86 kB / 0.5063 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.5803, allocations: 8 kB / 0.5063 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.5804, allocations: 11.98 kB / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/0.5805, allocations: 7.938 kB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.5806, allocations: 4 kB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.5807, allocations: 11.98 kB / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.5807, allocations: 7.984 kB / 0.5063 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.5808, allocations: 25.7 kB / 0.5064 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.5809, allocations: 19.95 kB / 0.5064 GB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.209e-05/0.5809, allocations: 4 kB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.581, allocations: 0 / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.581, allocations: 0 / 0.5064 GB, free: 15.12 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.0005562/0.5816, allocations: 349.2 kB / 0.5067 GB, free: 14.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.5816, allocations: 15.98 kB / 0.5067 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.5819, allocations: 15.89 kB / 0.5067 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.5821, allocations: 171 kB / 0.5069 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/0.5821, allocations: 4 kB / 0.5069 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.5822, allocations: 0 / 0.5069 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.5825, allocations: 69.62 kB / 0.507 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5825, allocations: 0 / 0.507 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.5825, allocations: 0 / 0.507 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5825, allocations: 0 / 0.507 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.5829, allocations: 67.94 kB / 0.507 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.5834, allocations: 260.9 kB / 0.5073 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.5837, allocations: 70.47 kB / 0.5074 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.5839, allocations: 36.91 kB / 0.5074 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.584, allocations: 8 kB / 0.5074 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.584, allocations: 30.56 kB / 0.5074 GB, free: 13.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.584, allocations: 0 / 0.5074 GB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006461/0.5847, allocations: 125.6 kB / 0.5075 GB, free: 13.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.5847, allocations: 59.34 kB / 0.5076 GB, free: 13.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.802e-05/0.5848, allocations: 105.8 kB / 0.5077 GB, free: 13.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.5848, allocations: 25.7 kB / 0.5077 GB, free: 13.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.017e-05/0.5849, allocations: 84.27 kB / 0.5078 GB, free: 13.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.5849, allocations: 11.83 kB / 0.5078 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.5849, allocations: 0 / 0.5078 GB, free: 13.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.526e-05/0.585, allocations: 318.8 kB / 0.5081 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.5852, allocations: 31.97 kB / 0.5082 GB, free: 13.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.5853, allocations: 31.98 kB / 0.5082 GB, free: 13.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.5855, allocations: 23.97 kB / 0.5082 GB, free: 13.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5855, allocations: 4 kB / 0.5082 GB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000419/0.586, allocations: 101.6 kB / 0.5083 GB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.586, allocations: 4 kB / 0.5083 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.586, allocations: 0 / 0.5083 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.5861, allocations: 7.922 kB / 0.5083 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.5862, allocations: 20.02 kB / 0.5083 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5863, allocations: 0 / 0.5083 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.564e-05/0.5864, allocations: 11.98 kB / 0.5083 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.5864, allocations: 0 / 0.5083 GB, free: 12.89 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.508e-05/0.5865, allocations: 113.8 kB / 0.5085 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.5866, allocations: 3.953 kB / 0.5085 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.5866, allocations: 15.47 kB / 0.5085 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5866, allocations: 0 / 0.5085 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5866, allocations: 0 / 0.5085 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5867, allocations: 4 kB / 0.5085 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.5869, allocations: 161.7 kB / 0.5086 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5869, allocations: 0 / 0.5086 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.587, allocations: 15.98 kB / 0.5086 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.5871, allocations: 3.953 kB / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5871, allocations: 0 / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5871, allocations: 4 kB / 0.5087 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5871, allocations: 0 / 0.5087 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.5875, allocations: 195.4 kB / 0.5088 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.5876, allocations: 84.95 kB / 0.5089 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.5876, allocations: 7.953 kB / 0.5089 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.5878, allocations: 11.98 kB / 0.5089 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.5879, allocations: 7.938 kB / 0.5089 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.5879, allocations: 0 / 0.5089 GB, free: 12.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.5879, allocations: 91.55 kB / 0.509 GB, free: 12.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5879, allocations: 0 / 0.509 GB, free: 12.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.5883, allocations: 8 kB / 0.509 GB, free: 12.08 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000124/0.5885, allocations: 95.25 kB / 0.5091 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004023/0.5889, allocations: 67.95 kB / 0.5092 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5889, allocations: 0 / 0.5092 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.5891, allocations: 35.91 kB / 0.5092 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.5896, allocations: 7.938 kB / 0.5092 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.59, allocations: 128.8 kB / 0.5094 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.5902, allocations: 0.677 MB / 0.51 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.5903, allocations: 4 kB / 0.51 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.5903, allocations: 7.438 kB / 0.51 GB, free: 11 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5903, allocations: 0 / 0.51 GB, free: 11 MB / 382.1 MB Notification: Performance of Templates: time 0.004008/0.5943, allocations: 491.8 kB / 0.5105 GB, free: 10.52 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: