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.266/2.266, allocations: 252.6 MB / 265.2 MB, free: 5.719 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.001529, allocations: 186.5 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001149/0.001149, allocations: 86.33 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.753e-05/3.768e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2345, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9857/1.22, allocations: 134.6 MB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.221, allocations: 79.2 kB / 1.026 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02789/1.249, allocations: 5.827 MB / 1.032 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.029e-06/1.249, allocations: 0 / 1.032 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.14e-05/1.249, allocations: 7.938 kB / 1.032 GB, free: 10.9 MB / 0.6511 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.001167/1.25, allocations: 0.5541 MB / 1.033 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.25, allocations: 15.97 kB / 1.033 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/1.25, allocations: 39.56 kB / 1.033 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/1.251, allocations: 276.9 kB / 1.033 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/1.251, allocations: 18.86 kB / 1.033 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/1.251, allocations: 15.81 kB / 1.033 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/1.251, allocations: 243.9 kB / 1.033 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.251, allocations: 0 / 1.033 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/1.251, allocations: 7.562 kB / 1.033 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/1.251, allocations: 4 kB / 1.033 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/1.252, allocations: 131.2 kB / 1.033 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/1.253, allocations: 0.7376 MB / 1.034 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/1.254, allocations: 159.4 kB / 1.034 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/1.254, allocations: 105 kB / 1.034 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/1.254, allocations: 4 kB / 1.034 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004122/1.254, allocations: 186.2 kB / 1.035 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.364e-06/1.254, allocations: 4 kB / 1.035 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.000965/1.255, allocations: 341.6 kB / 1.035 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.666e-05/1.255, allocations: 132.5 kB / 1.035 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/1.256, allocations: 248.7 kB / 1.035 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/1.256, allocations: 29.7 kB / 1.035 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/1.256, allocations: 153.2 kB / 1.035 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/1.256, allocations: 50 kB / 1.035 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/1.256, allocations: 7.875 kB / 1.035 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.256, allocations: 345.3 kB / 1.036 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/1.257, allocations: 95.53 kB / 1.036 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/1.257, allocations: 141.9 kB / 1.036 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/1.257, allocations: 123.9 kB / 1.036 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.257, allocations: 4.031 kB / 1.036 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000869/1.258, allocations: 371 kB / 1.037 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/1.258, allocations: 37.69 kB / 1.037 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.391e-06/1.258, allocations: 0 / 1.037 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/1.258, allocations: 4 kB / 1.037 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/1.258, allocations: 27.92 kB / 1.037 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/1.258, allocations: 4 kB / 1.037 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/1.259, allocations: 42.88 kB / 1.037 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/1.259, allocations: 11.25 kB / 1.037 GB, free: 6.641 MB / 0.6511 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 () * 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.0001666/1.259, allocations: 159.1 kB / 1.037 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/1.259, allocations: 27.72 kB / 1.037 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/1.259, allocations: 27.53 kB / 1.037 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.259, allocations: 3.984 kB / 1.037 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.259, allocations: 4 kB / 1.037 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.259, allocations: 0 / 1.037 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/1.26, allocations: 302.6 kB / 1.037 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.26, allocations: 3.953 kB / 1.037 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/1.26, allocations: 23.92 kB / 1.037 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/1.26, allocations: 0 / 1.037 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/1.26, allocations: 8 kB / 1.037 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.26, allocations: 4 kB / 1.037 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.26, allocations: 0 / 1.037 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/1.261, allocations: 0.5194 MB / 1.038 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-05/1.261, allocations: 100.8 kB / 1.038 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/1.261, allocations: 11.12 kB / 1.038 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/1.262, allocations: 34.86 kB / 1.038 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/1.262, allocations: 30.62 kB / 1.038 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/1.262, allocations: 14.48 kB / 1.038 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003009/1.262, allocations: 202.2 kB / 1.038 GB, free: 5.297 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.262, allocations: 0 / 1.038 GB, free: 5.297 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004125/1.263, allocations: 67.83 kB / 1.038 GB, free: 5.234 MB / 0.6511 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) * 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.0002864/1.263, allocations: 138.9 kB / 1.038 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005452/1.263, allocations: 269.9 kB / 1.039 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.263, allocations: 96 / 1.039 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/1.264, allocations: 179.7 kB / 1.039 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/1.264, allocations: 25.17 kB / 1.039 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/1.265, allocations: 358.5 kB / 1.039 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/1.266, allocations: 0.7589 MB / 1.04 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001383/1.266, allocations: 17.2 kB / 1.04 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/1.266, allocations: 19.42 kB / 1.04 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of SimCode: time 8.72e-07/1.266, allocations: 3.938 kB / 1.04 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of Templates: time 0.009126/1.275, allocations: 2.529 MB / 1.042 GB, free: 1.082 MB / 0.6511 GB