Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001525/0.001525, allocations: 105.8 kB / 16.4 MB, free: 6.512 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.001277/0.001277, allocations: 193.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8291/0.8291, allocations: 126.1 MB / 417.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 72.67 kB / 0.5731 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.19, allocations: 78.7 MB / 0.6499 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00379/0.1938, allocations: 1.938 MB / 0.6518 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1954, allocations: 0.7206 MB / 0.6525 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.1956, allocations: 4 kB / 0.6525 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.196, allocations: 83.62 kB / 0.6526 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.1962, allocations: 99.56 kB / 0.6527 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008474/0.197, allocations: 185.3 kB / 0.6529 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006105/0.1976, allocations: 263.4 kB / 0.6531 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.1979, allocations: 77.8 kB / 0.6532 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.1982, allocations: 115.7 kB / 0.6533 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1984, allocations: 155.5 kB / 0.6535 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.1985, allocations: 20 kB / 0.6535 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.1987, allocations: 91.92 kB / 0.6536 GB, free: 412 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1988, allocations: 55.84 kB / 0.6536 GB, free: 356 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.199, allocations: 115.3 kB / 0.6537 GB, free: 240 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005797/0.1996, allocations: 302.9 kB / 0.654 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1996, allocations: 0 / 0.654 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.048e-06/0.1996, allocations: 0 / 0.654 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.489e-05/0.1996, allocations: 0 / 0.654 GB, free: 15.93 MB / 0.4981 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.001147/0.2008, allocations: 0.6009 MB / 0.6546 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.2008, allocations: 8.031 kB / 0.6546 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.619e-05/0.2009, allocations: 36.75 kB / 0.6546 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/0.2015, allocations: 299.1 kB / 0.6549 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.2016, allocations: 16.12 kB / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.2016, allocations: 12 kB / 0.655 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.2021, allocations: 223.1 kB / 0.6552 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2021, allocations: 4 kB / 0.6552 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.2021, allocations: 7.938 kB / 0.6552 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.2021, allocations: 4 kB / 0.6552 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.2024, allocations: 128.4 kB / 0.6553 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009784/0.2034, allocations: 0.6924 MB / 0.656 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.2038, allocations: 166.7 kB / 0.6561 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.2039, allocations: 92.83 kB / 0.6562 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.204, allocations: 0 / 0.6562 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.2043, allocations: 173.1 kB / 0.6564 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.2043, allocations: 0 / 0.6564 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0007053/0.205, allocations: 374.5 kB / 0.6568 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.01e-05/0.2051, allocations: 136.5 kB / 0.6569 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.2054, allocations: 286.6 kB / 0.6572 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.2054, allocations: 29.7 kB / 0.6572 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.2056, allocations: 164.3 kB / 0.6573 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.2056, allocations: 39.62 kB / 0.6574 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.287e-05/0.2057, allocations: 41.7 kB / 0.6574 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2059, allocations: 346.8 kB / 0.6577 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.206, allocations: 83.95 kB / 0.6578 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.2062, allocations: 133.1 kB / 0.658 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.2066, allocations: 240.6 kB / 0.6582 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.2066, allocations: 0 / 0.6582 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005373/0.2072, allocations: 335.7 kB / 0.6585 GB, free: 11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.2072, allocations: 37.69 kB / 0.6585 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2072, allocations: 4 kB / 0.6585 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.2073, allocations: 8.094 kB / 0.6586 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2074, allocations: 23.92 kB / 0.6586 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.2074, allocations: 4 kB / 0.6586 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.2075, allocations: 27.81 kB / 0.6586 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.2076, allocations: 8 kB / 0.6586 GB, free: 10.89 MB / 0.4981 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.000201/0.2078, allocations: 187.5 kB / 0.6588 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.2078, allocations: 31.86 kB / 0.6588 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/0.2079, allocations: 29.83 kB / 0.6589 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2079, allocations: 4 kB / 0.6589 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2079, allocations: 0 / 0.6589 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2079, allocations: 3.938 kB / 0.6589 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.2082, allocations: 293.4 kB / 0.6591 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2082, allocations: 0 / 0.6591 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.2083, allocations: 19.97 kB / 0.6592 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2083, allocations: 0 / 0.6592 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.2084, allocations: 8 kB / 0.6592 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2084, allocations: 0 / 0.6592 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2084, allocations: 4.094 kB / 0.6592 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007256/0.2091, allocations: 474.2 kB / 0.6596 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/0.2092, allocations: 96.94 kB / 0.6597 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.2093, allocations: 11.94 kB / 0.6597 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2094, allocations: 11.98 kB / 0.6597 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.2095, allocations: 39.95 kB / 0.6598 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.2095, allocations: 4 kB / 0.6598 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001894/0.2097, allocations: 202 kB / 0.66 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2097, allocations: 0 / 0.66 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002951/0.21, allocations: 63.88 kB / 0.66 GB, free: 9.328 MB / 0.4981 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.0002151/0.2102, allocations: 124.6 kB / 0.6602 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.2107, allocations: 303.2 kB / 0.6604 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2108, allocations: 4 kB / 0.6604 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.211, allocations: 179.4 kB / 0.6606 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.2113, allocations: 30.27 kB / 0.6606 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.2124, allocations: 480.8 kB / 0.6611 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.2127, allocations: 0.7475 MB / 0.6618 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.811e-05/0.2128, allocations: 21.55 kB / 0.6619 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.2128, allocations: 23.42 kB / 0.6619 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.2128, allocations: 0 / 0.6619 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of Templates: time 0.00699/0.2198, allocations: 2.834 MB / 0.6646 GB, free: 4.539 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)