Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002605/0.00261, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.462/1.462, allocations: 165.8 MB / 183.1 MB, free: 5.5 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.877/3.877, allocations: 410.7 MB / 0.6001 GB, free: 15.2 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001707/0.001707, allocations: 203.1 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006502/0.0006508, allocations: 15.94 kB / 0.7429 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4221, allocations: 67.44 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1763/0.5984, allocations: 101.5 MB / 0.9078 GB, free: 7.188 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/0.5988, allocations: 95.94 kB / 0.9079 GB, free: 7.094 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.028/0.6268, allocations: 5.837 MB / 0.9136 GB, free: 1.254 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6269, allocations: 0 / 0.9136 GB, free: 1.254 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.6269, allocations: 4 kB / 0.9136 GB, free: 1.25 MB / 458.7 MB 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.001298/0.6282, allocations: 0.5817 MB / 0.9142 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6283, allocations: 8.031 kB / 0.9142 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.6284, allocations: 35.62 kB / 0.9142 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.629, allocations: 285.6 kB / 0.9145 GB, free: 256 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.6291, allocations: 12 kB / 0.9145 GB, free: 244 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.6291, allocations: 16 kB / 0.9145 GB, free: 228 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007547/0.6299, allocations: 271 kB / 0.9148 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.6299, allocations: 3.953 kB / 0.9148 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/0.63, allocations: 8 kB / 0.9148 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.63, allocations: 0 / 0.9148 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000546/0.6305, allocations: 164.4 kB / 0.915 GB, free: 15.76 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.6319, allocations: 0.7277 MB / 0.9157 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/0.6328, allocations: 226.5 kB / 0.9159 GB, free: 14.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.6333, allocations: 132.9 kB / 0.916 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.6333, allocations: 3.984 kB / 0.916 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005509/0.6339, allocations: 201 kB / 0.9162 GB, free: 14.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 2.555e-06/0.6339, allocations: 0 / 0.9162 GB, free: 14.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.00167/0.6356, allocations: 0.4984 MB / 0.9167 GB, free: 13.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/0.6357, allocations: 128.5 kB / 0.9168 GB, free: 13.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/0.6361, allocations: 282.6 kB / 0.9171 GB, free: 13.44 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.6362, allocations: 29.7 kB / 0.9171 GB, free: 13.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.6363, allocations: 164.2 kB / 0.9173 GB, free: 13.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.6364, allocations: 35.45 kB / 0.9173 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.6365, allocations: 8 kB / 0.9173 GB, free: 13.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6366, allocations: 330.8 kB / 0.9176 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.637, allocations: 120.1 kB / 0.9178 GB, free: 12.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.6375, allocations: 165.4 kB / 0.9179 GB, free: 12.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.6379, allocations: 143.3 kB / 0.918 GB, free: 12.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.638, allocations: 0 / 0.918 GB, free: 12.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001213/0.6392, allocations: 419.1 kB / 0.9184 GB, free: 12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/0.6393, allocations: 45.62 kB / 0.9185 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.6393, allocations: 0 / 0.9185 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.6393, allocations: 0 / 0.9185 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.6396, allocations: 36.02 kB / 0.9185 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.6396, allocations: 0 / 0.9185 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.6399, allocations: 43.83 kB / 0.9186 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.64, allocations: 12 kB / 0.9186 GB, free: 11.86 MB / 474.7 MB 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.0002717/0.6402, allocations: 192.1 kB / 0.9188 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.6403, allocations: 23.72 kB / 0.9188 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.047e-05/0.6404, allocations: 33.83 kB / 0.9188 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6404, allocations: 0 / 0.9188 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6404, allocations: 0 / 0.9188 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6405, allocations: 3.984 kB / 0.9188 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.6409, allocations: 305.3 kB / 0.9191 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6409, allocations: 0 / 0.9191 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.6411, allocations: 31.98 kB / 0.9191 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.6411, allocations: 0 / 0.9191 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.6412, allocations: 7.984 kB / 0.9191 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.6412, allocations: 3.938 kB / 0.9192 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6412, allocations: 3.984 kB / 0.9192 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.6429, allocations: 0.5931 MB / 0.9197 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-05/0.643, allocations: 96.86 kB / 0.9198 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.6431, allocations: 8 kB / 0.9198 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.6434, allocations: 36.03 kB / 0.9199 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.6435, allocations: 23.95 kB / 0.9199 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.6436, allocations: 16 kB / 0.9199 GB, free: 10.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002858/0.6439, allocations: 197.9 kB / 0.9201 GB, free: 10.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6439, allocations: 0 / 0.9201 GB, free: 10.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000425/0.6444, allocations: 67.94 kB / 0.9202 GB, free: 10.13 MB / 474.7 MB 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.0002708/0.6446, allocations: 131.2 kB / 0.9203 GB, free: 9.996 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009634/0.6456, allocations: 323.4 kB / 0.9206 GB, free: 9.668 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6456, allocations: 0 / 0.9206 GB, free: 9.668 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004663/0.6461, allocations: 195.3 kB / 0.9208 GB, free: 9.465 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.6466, allocations: 40.77 kB / 0.9208 GB, free: 9.426 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.6484, allocations: 0.5259 MB / 0.9213 GB, free: 8.867 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.6489, allocations: 0.7558 MB / 0.9221 GB, free: 8.086 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.649, allocations: 17.42 kB / 0.9221 GB, free: 8.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.6491, allocations: 23.38 kB / 0.9221 GB, free: 8.047 MB / 474.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6491, allocations: 0 / 0.9221 GB, free: 8.047 MB / 474.7 MB Notification: Performance of Templates: time 0.009275/0.6584, allocations: 2.503 MB / 0.9246 GB, free: 5.562 MB / 474.7 MB