Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 97.69 kB / 19.58 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 188.9 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002515, allocations: 284.7 kB / 307 MB, free: 8.434 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.156/1.156, allocations: 180.8 MB / 0.5304 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 101.1 kB / 0.7311 GB, free: 38.65 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1447, allocations: 94.21 MB / 0.8231 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.0032/0.1479, allocations: 1.968 MB / 0.825 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1492, allocations: 0.7323 MB / 0.8257 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.1492, allocations: 3.938 kB / 0.8257 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.1495, allocations: 83.64 kB / 0.8258 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.1496, allocations: 83.64 kB / 0.8259 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.1501, allocations: 190.2 kB / 0.8261 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.1504, allocations: 263.5 kB / 0.8263 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.1506, allocations: 65.84 kB / 0.8264 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1507, allocations: 115.7 kB / 0.8265 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.1509, allocations: 163.4 kB / 0.8267 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.151, allocations: 20 kB / 0.8267 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1511, allocations: 95.94 kB / 0.8268 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.122e-05/0.1512, allocations: 59.77 kB / 0.8268 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1513, allocations: 111.3 kB / 0.8269 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.1517, allocations: 310.8 kB / 0.8272 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1517, allocations: 0 / 0.8272 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1517, allocations: 0 / 0.8272 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.1517, allocations: 0 / 0.8272 GB, free: 13.67 MB / 0.5762 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.000836/0.1526, allocations: 0.5141 MB / 0.8277 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1526, allocations: 12.02 kB / 0.8277 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.1527, allocations: 32.75 kB / 0.8278 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.1531, allocations: 249.1 kB / 0.828 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.1532, allocations: 12.38 kB / 0.828 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.1532, allocations: 16.38 kB / 0.828 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.1537, allocations: 312.8 kB / 0.8283 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1537, allocations: 4 kB / 0.8283 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1537, allocations: 0 / 0.8283 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1537, allocations: 4 kB / 0.8283 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.154, allocations: 162.1 kB / 0.8285 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008633/0.1548, allocations: 0.6488 MB / 0.8291 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.1552, allocations: 192.1 kB / 0.8293 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.1554, allocations: 118.7 kB / 0.8294 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1554, allocations: 0 / 0.8294 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.1558, allocations: 198.7 kB / 0.8296 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.1558, allocations: 4 kB / 0.8296 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007565/0.1565, allocations: 442.5 kB / 0.83 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.1566, allocations: 132.5 kB / 0.8302 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.1569, allocations: 281.8 kB / 0.8304 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.1569, allocations: 29.7 kB / 0.8305 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.157, allocations: 160.3 kB / 0.8306 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.1571, allocations: 39.67 kB / 0.8307 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.1571, allocations: 45.7 kB / 0.8307 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1573, allocations: 338.9 kB / 0.831 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.1575, allocations: 125.5 kB / 0.8311 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.1577, allocations: 218.3 kB / 0.8313 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.1581, allocations: 244.8 kB / 0.8316 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1581, allocations: 0 / 0.8316 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000559/0.1587, allocations: 380.6 kB / 0.8319 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.1587, allocations: 45.78 kB / 0.832 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1587, allocations: 0 / 0.832 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1587, allocations: 4 kB / 0.832 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1588, allocations: 19.98 kB / 0.832 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1588, allocations: 4 kB / 0.832 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.159, allocations: 23.88 kB / 0.832 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.159, allocations: 8 kB / 0.832 GB, free: 8.348 MB / 0.5762 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.0001905/0.1592, allocations: 196 kB / 0.8322 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.1592, allocations: 27.86 kB / 0.8323 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.1593, allocations: 29.77 kB / 0.8323 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1593, allocations: 0 / 0.8323 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1593, allocations: 4 kB / 0.8323 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1593, allocations: 0 / 0.8323 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.1596, allocations: 276.4 kB / 0.8326 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1596, allocations: 0 / 0.8326 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.1597, allocations: 15.98 kB / 0.8326 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1597, allocations: 0 / 0.8326 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.1597, allocations: 12 kB / 0.8326 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1597, allocations: 0 / 0.8326 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1597, allocations: 0 / 0.8326 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007889/0.1605, allocations: 0.5251 MB / 0.8331 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.1605, allocations: 23.88 kB / 0.8331 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.1606, allocations: 8 kB / 0.8331 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1607, allocations: 20.05 kB / 0.8331 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.1607, allocations: 23.95 kB / 0.8332 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1608, allocations: 4 kB / 0.8332 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001978/0.161, allocations: 201.2 kB / 0.8334 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.161, allocations: 0 / 0.8334 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002765/0.1612, allocations: 63.88 kB / 0.8334 GB, free: 6.84 MB / 0.5762 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.0001789/0.1614, allocations: 137.4 kB / 0.8336 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.1619, allocations: 330.6 kB / 0.8339 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1619, allocations: 0 / 0.8339 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.1622, allocations: 193 kB / 0.8341 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.1625, allocations: 34.7 kB / 0.8341 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/0.1635, allocations: 0.5028 MB / 0.8346 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1638, allocations: 0.7515 MB / 0.8353 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.913e-05/0.1639, allocations: 13.48 kB / 0.8353 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.164, allocations: 23.44 kB / 0.8353 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.164, allocations: 0 / 0.8353 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of Templates: time 0.006621/0.1706, allocations: 2.94 MB / 0.8382 GB, free: 1.84 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.716954747098498] Failed to read output from testmodel.py, exit status != 0: 0.17804110096767545 0.192112416 0.037516472 Calling exit ...