Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.396/2.396, allocations: 284.8 MB / 297.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 184.1 kB / 365.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.1 MB / 0.6241 GB, free: 8.184 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 94.62 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.367e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.794, allocations: 115.2 MB / 0.97 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2653/1.059, allocations: 140.9 MB / 1.108 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/1.06, allocations: 83.94 kB / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02936/1.089, allocations: 5.821 MB / 1.113 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.803e-06/1.089, allocations: 0 / 1.113 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.441e-05/1.089, allocations: 4 kB / 1.113 GB, free: 5.637 MB / 0.7136 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.001336/1.091, allocations: 0.5513 MB / 1.114 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.091, allocations: 12.03 kB / 1.114 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/1.091, allocations: 31.72 kB / 1.114 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/1.091, allocations: 293.5 kB / 1.114 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/1.092, allocations: 12 kB / 1.114 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/1.092, allocations: 16 kB / 1.114 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/1.092, allocations: 239.6 kB / 1.114 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.092, allocations: 0 / 1.114 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/1.092, allocations: 10.16 kB / 1.115 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/1.092, allocations: 4 kB / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003887/1.093, allocations: 140.4 kB / 1.115 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/1.094, allocations: 0.7277 MB / 1.115 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/1.095, allocations: 171.8 kB / 1.116 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/1.095, allocations: 105 kB / 1.116 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/1.095, allocations: 4 kB / 1.116 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004077/1.096, allocations: 181.1 kB / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 3.246e-06/1.096, allocations: 0 / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0009958/1.097, allocations: 346 kB / 1.116 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/1.097, allocations: 140.5 kB / 1.116 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/1.097, allocations: 239.2 kB / 1.116 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/1.097, allocations: 33.7 kB / 1.117 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/1.097, allocations: 156.2 kB / 1.117 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/1.097, allocations: 47.39 kB / 1.117 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/1.098, allocations: 4 kB / 1.117 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.098, allocations: 342.8 kB / 1.117 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/1.098, allocations: 96.16 kB / 1.117 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/1.098, allocations: 142.7 kB / 1.117 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/1.099, allocations: 122.6 kB / 1.117 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.099, allocations: 0 / 1.117 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00093/1.1, allocations: 373.9 kB / 1.118 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/1.1, allocations: 41.69 kB / 1.118 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.1, allocations: 0 / 1.118 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/1.1, allocations: 4 kB / 1.118 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/1.1, allocations: 27.92 kB / 1.118 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.1, allocations: 4 kB / 1.118 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/1.1, allocations: 43.88 kB / 1.118 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/1.1, allocations: 12 kB / 1.118 GB, free: 0.7383 MB / 0.7136 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.000173/1.101, allocations: 149.3 kB / 1.118 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/1.101, allocations: 33.27 kB / 1.118 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/1.101, allocations: 29.95 kB / 1.118 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.101, allocations: 0 / 1.118 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.101, allocations: 4 kB / 1.118 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/1.101, allocations: 7.984 kB / 1.118 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/1.101, allocations: 293.5 kB / 1.118 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.101, allocations: 0 / 1.118 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/1.102, allocations: 19.98 kB / 1.118 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/1.102, allocations: 7.953 kB / 1.118 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/1.102, allocations: 11.98 kB / 1.118 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.102, allocations: 0 / 1.118 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.102, allocations: 0 / 1.118 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/1.103, allocations: 0.5232 MB / 1.119 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.296e-05/1.103, allocations: 96.8 kB / 1.119 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/1.103, allocations: 15.94 kB / 1.119 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/1.103, allocations: 27.98 kB / 1.119 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.104, allocations: 33.89 kB / 1.119 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/1.104, allocations: 15.98 kB / 1.119 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000312/1.104, allocations: 199.1 kB / 1.119 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.01e-07/1.104, allocations: 0 / 1.119 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004356/1.104, allocations: 64.06 kB / 1.119 GB, free: 15.13 MB / 0.7292 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.0003071/1.105, allocations: 141 kB / 1.119 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006231/1.105, allocations: 281.2 kB / 1.12 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/1.105, allocations: 4 kB / 1.12 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/1.106, allocations: 167.4 kB / 1.12 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/1.106, allocations: 35.67 kB / 1.12 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/1.107, allocations: 366.9 kB / 1.12 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/1.108, allocations: 0.7558 MB / 1.121 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001486/1.108, allocations: 21.19 kB / 1.121 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/1.108, allocations: 15.44 kB / 1.121 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.042e-06/1.108, allocations: 0 / 1.121 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.00943/1.118, allocations: 2.513 MB / 1.124 GB, free: 10.85 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)