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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008642/0.0008642, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008391/0.0008391, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8624/0.8624, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5398/0.5398, allocations: 114 MB / 374.7 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.5554 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.69e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002651/0.002668, allocations: 1.917 MB / 0.5573 GB, free: 372 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009392/0.003607, allocations: 0.705 MB / 0.558 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.395e-05/0.003701, allocations: 3.938 kB / 0.558 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.003904, allocations: 83.62 kB / 0.558 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/0.003993, allocations: 91.5 kB / 0.5581 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.004416, allocations: 189.8 kB / 0.5583 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.004631, allocations: 263.4 kB / 0.5586 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.004754, allocations: 46.16 kB / 0.5586 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.00489, allocations: 155.7 kB / 0.5588 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.005057, allocations: 143.6 kB / 0.5589 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.005084, allocations: 20 kB / 0.5589 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.005188, allocations: 83.94 kB / 0.559 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.005256, allocations: 59.83 kB / 0.5591 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.00532, allocations: 63.77 kB / 0.5591 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.005621, allocations: 335 kB / 0.5594 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.005624, allocations: 3.938 kB / 0.5594 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.122e-06/0.005625, allocations: 0 / 0.5594 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.00563, allocations: 0 / 0.5594 GB, free: 14.14 MB / 0.5261 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.0006341/0.006264, allocations: 0.5064 MB / 0.5599 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.0063, allocations: 12.62 kB / 0.5599 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.006351, allocations: 36.75 kB / 0.56 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.00668, allocations: 244.9 kB / 0.5602 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.006701, allocations: 16.38 kB / 0.5602 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.006729, allocations: 12.38 kB / 0.5602 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.007029, allocations: 304.2 kB / 0.5605 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.007039, allocations: 7.938 kB / 0.5605 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.007055, allocations: 8 kB / 0.5605 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.007062, allocations: 7.984 kB / 0.5606 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.007242, allocations: 166 kB / 0.5607 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.007798, allocations: 0.5752 MB / 0.5613 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.008027, allocations: 184.2 kB / 0.5615 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.008127, allocations: 118.7 kB / 0.5616 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.008141, allocations: 4 kB / 0.5616 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.008334, allocations: 206.7 kB / 0.5618 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.012e-06/0.008335, allocations: 0 / 0.5618 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0004463/0.008782, allocations: 442.4 kB / 0.5622 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.008834, allocations: 132.5 kB / 0.5623 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/0.009278, allocations: 277.8 kB / 0.5626 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.009295, allocations: 29.7 kB / 0.5626 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.009376, allocations: 160.3 kB / 0.5628 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.009404, allocations: 43.64 kB / 0.5628 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.009453, allocations: 41.7 kB / 0.5628 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.912e-05/0.009532, allocations: 334.8 kB / 0.5632 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.009637, allocations: 117.7 kB / 0.5633 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.009768, allocations: 214.9 kB / 0.5635 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.009961, allocations: 246.7 kB / 0.5637 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009963, allocations: 4 kB / 0.5637 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000298/0.01026, allocations: 374.8 kB / 0.5641 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.01029, allocations: 33.7 kB / 0.5641 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.0103, allocations: 4 kB / 0.5641 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.01031, allocations: 4.031 kB / 0.5641 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.01039, allocations: 31.98 kB / 0.5641 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.01039, allocations: 3.984 kB / 0.5641 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.01046, allocations: 23.88 kB / 0.5642 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.01047, allocations: 8 kB / 0.5642 GB, free: 8.922 MB / 0.5261 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.0001189/0.01059, allocations: 191.4 kB / 0.5644 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.01061, allocations: 27.84 kB / 0.5644 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.01064, allocations: 21.78 kB / 0.5644 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01064, allocations: 8 kB / 0.5644 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01065, allocations: 0 / 0.5644 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01065, allocations: 3.984 kB / 0.5644 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.01078, allocations: 205.1 kB / 0.5646 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.01078, allocations: 0 / 0.5646 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.01084, allocations: 15.98 kB / 0.5646 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.01084, allocations: 0 / 0.5646 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.01085, allocations: 8 kB / 0.5646 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.01085, allocations: 96 / 0.5646 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01085, allocations: 3.938 kB / 0.5646 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.01132, allocations: 0.5341 MB / 0.5652 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.01134, allocations: 19.89 kB / 0.5652 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.01137, allocations: 4 kB / 0.5652 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.807e-05/0.01142, allocations: 15.98 kB / 0.5652 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.01148, allocations: 23.95 kB / 0.5652 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.0115, allocations: 7.984 kB / 0.5652 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001113/0.01161, allocations: 197.2 kB / 0.5654 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01161, allocations: 0 / 0.5654 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001815/0.01179, allocations: 63.83 kB / 0.5655 GB, free: 7.5 MB / 0.5261 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.0001636/0.01196, allocations: 141.7 kB / 0.5656 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.01228, allocations: 322.6 kB / 0.5659 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01228, allocations: 0 / 0.5659 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.01241, allocations: 185 kB / 0.5661 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.0126, allocations: 42.62 kB / 0.5661 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.01319, allocations: 0.4945 MB / 0.5666 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.004e-05/0.01328, allocations: 148.5 kB / 0.5668 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.01332, allocations: 20.5 kB / 0.5668 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of SimCode: time 5.51e-07/0.01332, allocations: 0 / 0.5668 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of Templates: time 0.003763/0.01709, allocations: 3.043 MB / 0.5698 GB, free: 3.027 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.91951494757086] Failed to read output from testmodel.py, exit status != 0: 0.022276616655290127 0.030402506000000003 0.022931491000000002 Calling exit ...