Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.245/2.245, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 179.8 kB / 325.6 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.393/2.393, allocations: 205.4 MB / 0.5766 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 86.36 kB / 0.6811 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004971, allocations: 11.88 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2321, allocations: 106.3 MB / 0.8989 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2225/0.4547, allocations: 131.5 MB / 1.027 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004173/0.4552, allocations: 75.95 kB / 1.027 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004518/0.4597, allocations: 0.7663 MB / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.896e-06/0.4598, allocations: 0 / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4598, allocations: 0 / 1.028 GB, free: 13.05 MB / 0.6823 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.0006/0.4604, allocations: 355.2 kB / 1.028 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.4605, allocations: 8.031 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.4608, allocations: 19.97 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.461, allocations: 166.9 kB / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.4611, allocations: 0 / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.4611, allocations: 4 kB / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.4615, allocations: 65.67 kB / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4616, allocations: 3.984 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.4616, allocations: 0 / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.4616, allocations: 11.88 kB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006403/0.4623, allocations: 59.95 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/0.4631, allocations: 272.9 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/0.4635, allocations: 66.53 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.4636, allocations: 0 / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.4636, allocations: 30.56 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.544e-06/0.4637, allocations: 7.938 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.001049/0.4647, allocations: 125.8 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.4648, allocations: 51.41 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.4649, allocations: 97 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.465, allocations: 29.7 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.4651, allocations: 92.06 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.4651, allocations: 3.906 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.4652, allocations: 0 / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4653, allocations: 318.8 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.4656, allocations: 31.97 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.466, allocations: 27.98 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.4663, allocations: 36.03 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.4664, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007433/0.4671, allocations: 101.5 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.4672, allocations: 11.98 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4672, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4672, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.4675, allocations: 15.98 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.4676, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.4678, allocations: 16.02 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.4678, allocations: 0 / 1.03 GB, free: 10.85 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.468, allocations: 117.7 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.468, allocations: 4 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.4681, allocations: 7.531 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.4681, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4681, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4681, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.4685, allocations: 173.6 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.4685, allocations: 0 / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.4687, allocations: 15.98 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.4688, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.4688, allocations: 7.938 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4688, allocations: 0 / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4688, allocations: 0 / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.4696, allocations: 195.5 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.4697, allocations: 81.02 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.4698, allocations: 7.969 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.47, allocations: 11.98 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.4701, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.4701, allocations: 7.984 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.641e-05/0.4702, allocations: 87.53 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.12e-07/0.4703, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000468/0.4707, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6823 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 (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.0001699/0.4709, allocations: 99.25 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007019/0.4717, allocations: 71.88 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.4717, allocations: 4.062 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.472, allocations: 27.98 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.4724, allocations: 9.984 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/0.473, allocations: 136.7 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.4734, allocations: 0.6809 MB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.821e-05/0.4735, allocations: 0 / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.4735, allocations: 11.44 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of SimCode: time 1.253e-06/0.4736, allocations: 0 / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of Templates: time 0.004444/0.478, allocations: 495.4 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB