Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009182/0.0009181, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006301/0.006302, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.566/1.566, allocations: 252 MB / 0.5105 GB, free: 4.688 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000543/0.0005429, allocations: 12 kB / 0.6249 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.682/0.6825, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002929/0.6855, allocations: 1.665 MB / 0.7303 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.6872, allocations: 0.7622 MB / 0.7311 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.6874, allocations: 0 / 0.7311 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.6877, allocations: 79.69 kB / 0.7312 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.6879, allocations: 87.7 kB / 0.7312 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.6887, allocations: 154.1 kB / 0.7314 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000429/0.6891, allocations: 239.4 kB / 0.7316 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.6893, allocations: 69.89 kB / 0.7317 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.6896, allocations: 91.59 kB / 0.7318 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.6898, allocations: 131.5 kB / 0.7319 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.6899, allocations: 4 kB / 0.7319 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.6901, allocations: 75.94 kB / 0.732 GB, free: 7.918 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.6902, allocations: 47.81 kB / 0.732 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.6904, allocations: 109.1 kB / 0.7321 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.6908, allocations: 286.9 kB / 0.7324 GB, free: 7.477 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6908, allocations: 0 / 0.7324 GB, free: 7.477 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6908, allocations: 4 kB / 0.7324 GB, free: 7.473 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.6908, allocations: 0 / 0.7324 GB, free: 7.473 MB / 0.545 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.0009773/0.6918, allocations: 0.5431 MB / 0.7329 GB, free: 6.875 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.6918, allocations: 12.03 kB / 0.7329 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/0.6919, allocations: 24.66 kB / 0.733 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.6925, allocations: 314.8 kB / 0.7333 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.6925, allocations: 8.375 kB / 0.7333 GB, free: 6.484 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.6926, allocations: 20.38 kB / 0.7333 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.693, allocations: 232 kB / 0.7335 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.693, allocations: 0 / 0.7335 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.6931, allocations: 8 kB / 0.7335 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.6931, allocations: 4 kB / 0.7335 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.6934, allocations: 129.1 kB / 0.7337 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009245/0.6943, allocations: 0.6808 MB / 0.7343 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.6948, allocations: 178.5 kB / 0.7345 GB, free: 5.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.6949, allocations: 109 kB / 0.7346 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.695, allocations: 0 / 0.7346 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/0.6953, allocations: 181 kB / 0.7348 GB, free: 4.855 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.6953, allocations: 0 / 0.7348 GB, free: 4.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000693/0.696, allocations: 401.8 kB / 0.7352 GB, free: 4.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.6961, allocations: 136.5 kB / 0.7353 GB, free: 4.289 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.6964, allocations: 274.7 kB / 0.7355 GB, free: 4.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.6964, allocations: 33.7 kB / 0.7356 GB, free: 3.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.6965, allocations: 156.2 kB / 0.7357 GB, free: 3.824 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.6966, allocations: 39.45 kB / 0.7358 GB, free: 3.785 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.6966, allocations: 25.8 kB / 0.7358 GB, free: 3.754 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6968, allocations: 338.8 kB / 0.7361 GB, free: 3.414 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.6969, allocations: 99.89 kB / 0.7362 GB, free: 3.316 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.6971, allocations: 131.7 kB / 0.7363 GB, free: 3.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.6975, allocations: 261.1 kB / 0.7366 GB, free: 2.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6975, allocations: 0 / 0.7366 GB, free: 2.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004874/0.698, allocations: 342.9 kB / 0.7369 GB, free: 2.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.698, allocations: 43.56 kB / 0.7369 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.698, allocations: 0 / 0.7369 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6981, allocations: 0 / 0.7369 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.6982, allocations: 23.98 kB / 0.737 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6982, allocations: 4 kB / 0.737 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.6984, allocations: 27.89 kB / 0.737 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.6984, allocations: 12 kB / 0.737 GB, free: 2.434 MB / 0.545 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 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001824/0.6986, allocations: 195.3 kB / 0.7372 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.6986, allocations: 27.72 kB / 0.7372 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/0.6987, allocations: 25.83 kB / 0.7372 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6987, allocations: 4 kB / 0.7373 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6987, allocations: 8 kB / 0.7373 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6987, allocations: 0 / 0.7373 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.699, allocations: 293.6 kB / 0.7375 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.699, allocations: 0 / 0.7375 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.6991, allocations: 15.98 kB / 0.7376 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.6991, allocations: 7.984 kB / 0.7376 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.6991, allocations: 0 / 0.7376 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6991, allocations: 7.938 kB / 0.7376 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6991, allocations: 0 / 0.7376 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.6999, allocations: 490.1 kB / 0.738 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.6999, allocations: 96.86 kB / 0.7381 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.7, allocations: 8 kB / 0.7381 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.7001, allocations: 20.05 kB / 0.7382 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.7002, allocations: 23.95 kB / 0.7382 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.7002, allocations: 4 kB / 0.7382 GB, free: 1.125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001821/0.7004, allocations: 202 kB / 0.7384 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7004, allocations: 0 / 0.7384 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002902/0.7007, allocations: 63.92 kB / 0.7384 GB, free: 0.8633 MB / 0.545 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 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002054/0.7009, allocations: 135.1 kB / 0.7386 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.7014, allocations: 302.2 kB / 0.7389 GB, free: 428 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7014, allocations: 0 / 0.7389 GB, free: 428 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.7017, allocations: 195.5 kB / 0.739 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.702, allocations: 32.55 kB / 0.7391 GB, free: 188 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.703, allocations: 0.5383 MB / 0.7396 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.7033, allocations: 0.7517 MB / 0.7403 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.9e-05/0.7034, allocations: 21.53 kB / 0.7404 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.7035, allocations: 15.44 kB / 0.7404 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.7035, allocations: 7.938 kB / 0.7404 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.005955/0.7094, allocations: 2.521 MB / 0.7428 GB, free: 12.29 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) Environment - environmentSimulation: