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.001507/0.001507, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002395/0.002395, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.597/1.597, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.521/1.521, allocations: 251.7 MB / 0.5089 GB, free: 3.227 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.00167/0.00167, allocations: 71.89 kB / 0.6218 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6914, allocations: 104.7 MB / 0.724 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003876/0.6953, allocations: 2.008 MB / 0.726 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.6966, allocations: 0.7623 MB / 0.7267 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.6968, allocations: 3.938 kB / 0.7267 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.6971, allocations: 75.77 kB / 0.7268 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.6972, allocations: 87.69 kB / 0.7269 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.6979, allocations: 171.8 kB / 0.727 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.6982, allocations: 259.4 kB / 0.7273 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.6984, allocations: 69.88 kB / 0.7273 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.6986, allocations: 111.7 kB / 0.7274 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.6988, allocations: 159.5 kB / 0.7276 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.6988, allocations: 20 kB / 0.7276 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.699, allocations: 87.94 kB / 0.7277 GB, free: 9.398 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.976e-05/0.6991, allocations: 59.83 kB / 0.7278 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.6992, allocations: 103.3 kB / 0.7279 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.6996, allocations: 307 kB / 0.7281 GB, free: 8.938 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6996, allocations: 0 / 0.7281 GB, free: 8.938 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6996, allocations: 0 / 0.7281 GB, free: 8.938 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.6996, allocations: 0 / 0.7281 GB, free: 8.938 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.0009328/0.7005, allocations: 0.5819 MB / 0.7287 GB, free: 8.301 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7006, allocations: 12.03 kB / 0.7287 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.083e-05/0.7007, allocations: 28.64 kB / 0.7288 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.7011, allocations: 298.8 kB / 0.729 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.7011, allocations: 8.375 kB / 0.729 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.7012, allocations: 16.38 kB / 0.7291 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.7016, allocations: 228.1 kB / 0.7293 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.7017, allocations: 0 / 0.7293 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.7017, allocations: 8 kB / 0.7293 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.7017, allocations: 4 kB / 0.7293 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.702, allocations: 133.8 kB / 0.7294 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.7032, allocations: 0.6847 MB / 0.7301 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.7036, allocations: 162.5 kB / 0.7302 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.7038, allocations: 101 kB / 0.7303 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.7038, allocations: 0 / 0.7303 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003886/0.7042, allocations: 181 kB / 0.7305 GB, free: 6.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.7042, allocations: 0 / 0.7305 GB, free: 6.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0008405/0.7051, allocations: 377.9 kB / 0.7309 GB, free: 5.938 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.7052, allocations: 140.4 kB / 0.731 GB, free: 5.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.7056, allocations: 278.7 kB / 0.7313 GB, free: 5.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.7056, allocations: 29.7 kB / 0.7313 GB, free: 5.461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.7058, allocations: 160.2 kB / 0.7315 GB, free: 5.301 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.7058, allocations: 39.45 kB / 0.7315 GB, free: 5.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.7059, allocations: 41.7 kB / 0.7315 GB, free: 5.215 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.7061, allocations: 338.8 kB / 0.7319 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.7063, allocations: 83.89 kB / 0.7319 GB, free: 4.793 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.7065, allocations: 133.7 kB / 0.7321 GB, free: 4.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.7069, allocations: 234.7 kB / 0.7323 GB, free: 4.391 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7069, allocations: 0 / 0.7323 GB, free: 4.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005262/0.7075, allocations: 345.2 kB / 0.7326 GB, free: 4.043 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/0.7075, allocations: 33.7 kB / 0.7326 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.7075, allocations: 4 kB / 0.7326 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.7076, allocations: 3.984 kB / 0.7327 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.7077, allocations: 23.94 kB / 0.7327 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.7077, allocations: 7.984 kB / 0.7327 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.7079, allocations: 27.83 kB / 0.7327 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.7079, allocations: 4 kB / 0.7327 GB, free: 3.934 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.0002119/0.7081, allocations: 203.4 kB / 0.7329 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.7082, allocations: 27.72 kB / 0.7329 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.404e-05/0.7083, allocations: 25.83 kB / 0.733 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.7083, allocations: 4 kB / 0.733 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.7083, allocations: 0 / 0.733 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.7083, allocations: 3.984 kB / 0.733 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.7087, allocations: 281.5 kB / 0.7332 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7087, allocations: 3.938 kB / 0.7332 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.7088, allocations: 19.98 kB / 0.7333 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7088, allocations: 0 / 0.7333 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.7088, allocations: 11.98 kB / 0.7333 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7089, allocations: 0 / 0.7333 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7089, allocations: 0 / 0.7333 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007553/0.7096, allocations: 474.1 kB / 0.7337 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.7097, allocations: 104.9 kB / 0.7338 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.7098, allocations: 8 kB / 0.7338 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.7099, allocations: 15.98 kB / 0.7338 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/0.71, allocations: 19.97 kB / 0.7339 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.71, allocations: 4.188 kB / 0.7339 GB, free: 2.645 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002001/0.7102, allocations: 205.9 kB / 0.7341 GB, free: 2.441 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7102, allocations: 3.938 kB / 0.7341 GB, free: 2.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003372/0.7106, allocations: 60.06 kB / 0.7341 GB, free: 2.379 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.0003148/0.7109, allocations: 142.9 kB / 0.7343 GB, free: 2.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005766/0.7115, allocations: 295.2 kB / 0.7345 GB, free: 1.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7115, allocations: 0 / 0.7345 GB, free: 1.934 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.7118, allocations: 183.3 kB / 0.7347 GB, free: 1.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.7122, allocations: 40.67 kB / 0.7348 GB, free: 1.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.7134, allocations: 0.5283 MB / 0.7353 GB, free: 1.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.7137, allocations: 0.7553 MB / 0.736 GB, free: 376 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.392e-05/0.7138, allocations: 17.55 kB / 0.736 GB, free: 356 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.7139, allocations: 15.44 kB / 0.736 GB, free: 340 kB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.7139, allocations: 0 / 0.736 GB, free: 340 kB / 0.545 GB Notification: Performance of Templates: time 0.00641/0.7203, allocations: 2.669 MB / 0.7386 GB, free: 13.68 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (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)