Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.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.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.137/2.137, allocations: 251.1 MB / 266.1 MB, free: 11.57 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.001522/0.001522, allocations: 182.2 kB / 325.6 MB, free: 2.836 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.473/2.473, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001165/0.001165, allocations: 96.95 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004751, allocations: 13 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.4484, allocations: 134.7 MB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.4488, allocations: 83.95 kB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02774/0.4765, allocations: 5.839 MB / 1.036 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4766, allocations: 0 / 1.036 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.4766, allocations: 4 kB / 1.036 GB, free: 5.121 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001294/0.4779, allocations: 0.5896 MB / 1.037 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.478, allocations: 12.03 kB / 1.037 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.4781, allocations: 39.56 kB / 1.037 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.4787, allocations: 281.6 kB / 1.037 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.4788, allocations: 15.98 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.4789, allocations: 12 kB / 1.037 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007374/0.4796, allocations: 263 kB / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4796, allocations: 0 / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.4797, allocations: 8 kB / 1.037 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.4797, allocations: 4 kB / 1.037 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.4803, allocations: 164.3 kB / 1.038 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.4817, allocations: 0.7393 MB / 1.038 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008628/0.4826, allocations: 218.4 kB / 1.039 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.4826, allocations: 4 kB / 1.039 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005409/0.4832, allocations: 209.1 kB / 1.039 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 4.358e-06/0.4832, allocations: 0 / 1.039 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.001729/0.4849, allocations: 0.5528 MB / 1.039 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.485, allocations: 136.6 kB / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.4855, allocations: 253.7 kB / 1.04 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.4855, allocations: 37.7 kB / 1.04 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.4857, allocations: 152.2 kB / 1.04 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.4858, allocations: 47.44 kB / 1.04 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.4858, allocations: 0 / 1.04 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.486, allocations: 342.8 kB / 1.04 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.4864, allocations: 120.1 kB / 1.04 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/0.4869, allocations: 165.4 kB / 1.04 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.4873, allocations: 134.5 kB / 1.041 GB, free: 364 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4873, allocations: 0 / 1.041 GB, free: 364 kB / 0.6823 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001292/0.4886, allocations: 424.5 kB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/0.4887, allocations: 33.7 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4887, allocations: 3.984 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.4887, allocations: 3.984 kB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.489, allocations: 31.92 kB / 1.041 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.489, allocations: 3.938 kB / 1.041 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.4894, allocations: 43.98 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.4894, allocations: 11.98 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0002879/0.4897, allocations: 187.5 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.4898, allocations: 27.67 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.044e-05/0.4899, allocations: 37.83 kB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4899, allocations: 0 / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4899, allocations: 0 / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4899, allocations: 0 / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.4903, allocations: 305.4 kB / 1.042 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4904, allocations: 0 / 1.042 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.4906, allocations: 23.94 kB / 1.042 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4906, allocations: 0 / 1.042 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.4906, allocations: 11.98 kB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4907, allocations: 4 kB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4907, allocations: 0 / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.4924, allocations: 0.5761 MB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.704e-05/0.4926, allocations: 100.8 kB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.4927, allocations: 15.95 kB / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.493, allocations: 36.03 kB / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.4931, allocations: 27.95 kB / 1.042 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.4931, allocations: 8 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000323/0.4935, allocations: 205.9 kB / 1.043 GB, free: 14.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.41e-07/0.4935, allocations: 0 / 1.043 GB, free: 14.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004566/0.494, allocations: 67.91 kB / 1.043 GB, free: 14.07 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0002743/0.4942, allocations: 133.6 kB / 1.043 GB, free: 13.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009264/0.4952, allocations: 323.2 kB / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.4952, allocations: 192 / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004366/0.4957, allocations: 195.4 kB / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.4961, allocations: 24.55 kB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.4977, allocations: 0.5263 MB / 1.044 GB, free: 12.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4981, allocations: 0.7558 MB / 1.045 GB, free: 12.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.4983, allocations: 13.42 kB / 1.045 GB, free: 12.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/0.4983, allocations: 23.42 kB / 1.045 GB, free: 12.01 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/0.4984, allocations: 0 / 1.045 GB, free: 12.01 MB / 0.698 GB Notification: Performance of Templates: time 0.009333/0.5077, allocations: 2.513 MB / 1.047 GB, free: 9.52 MB / 0.698 GB