Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001475/0.001475, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001786/0.001786, allocations: 213.5 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.337/1.337, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8494/0.8494, allocations: 145 MB / 458.2 MB, free: 15.52 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.48 kB / 0.6344 GB, free: 6.832 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1522, allocations: 87.89 MB / 0.7202 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00328/0.1554, allocations: 1.981 MB / 0.7221 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1567, allocations: 0.768 MB / 0.7229 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/0.1567, allocations: 3.938 kB / 0.7229 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.157, allocations: 83.69 kB / 0.723 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.1571, allocations: 87.58 kB / 0.7231 GB, free: 12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.1576, allocations: 190.6 kB / 0.7232 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.158, allocations: 263.4 kB / 0.7235 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1581, allocations: 57.91 kB / 0.7236 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.1583, allocations: 119.6 kB / 0.7237 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.1585, allocations: 155.5 kB / 0.7238 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.1586, allocations: 20 kB / 0.7238 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1587, allocations: 95.92 kB / 0.7239 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.1588, allocations: 59.78 kB / 0.724 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1589, allocations: 115.3 kB / 0.7241 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.1593, allocations: 318.7 kB / 0.7244 GB, free: 10.63 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1593, allocations: 0 / 0.7244 GB, free: 10.63 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1593, allocations: 0 / 0.7244 GB, free: 10.63 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1593, allocations: 0 / 0.7244 GB, free: 10.63 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.0007973/0.1601, allocations: 0.5102 MB / 0.7249 GB, free: 10.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.1601, allocations: 12.03 kB / 0.7249 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.1602, allocations: 32.75 kB / 0.7249 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.1607, allocations: 245.2 kB / 0.7252 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.1607, allocations: 12.38 kB / 0.7252 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.1607, allocations: 16.38 kB / 0.7252 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.1612, allocations: 223.9 kB / 0.7254 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1612, allocations: 0 / 0.7254 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1612, allocations: 8 kB / 0.7254 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1612, allocations: 4 kB / 0.7254 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.1614, allocations: 136.3 kB / 0.7256 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008255/0.1623, allocations: 0.6448 MB / 0.7262 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.1626, allocations: 158.6 kB / 0.7263 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.1628, allocations: 84.83 kB / 0.7264 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.1628, allocations: 0 / 0.7264 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.163, allocations: 173 kB / 0.7266 GB, free: 8.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.163, allocations: 0 / 0.7266 GB, free: 8.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006546/0.1637, allocations: 394.8 kB / 0.727 GB, free: 7.836 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.92e-05/0.1638, allocations: 140.5 kB / 0.7271 GB, free: 7.668 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.1641, allocations: 273.9 kB / 0.7274 GB, free: 7.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.1641, allocations: 33.7 kB / 0.7274 GB, free: 7.355 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1642, allocations: 156.3 kB / 0.7275 GB, free: 7.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.1643, allocations: 47.64 kB / 0.7276 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.1643, allocations: 37.72 kB / 0.7276 GB, free: 7.109 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1645, allocations: 334.8 kB / 0.7279 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.1646, allocations: 91.89 kB / 0.728 GB, free: 6.684 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.1648, allocations: 135.9 kB / 0.7281 GB, free: 6.535 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.1652, allocations: 238.8 kB / 0.7284 GB, free: 6.277 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1652, allocations: 0 / 0.7284 GB, free: 6.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004983/0.1657, allocations: 333.1 kB / 0.7287 GB, free: 5.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.1657, allocations: 37.7 kB / 0.7287 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1657, allocations: 4 kB / 0.7287 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1657, allocations: 4.094 kB / 0.7287 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1658, allocations: 23.92 kB / 0.7288 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1658, allocations: 4 kB / 0.7288 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.166, allocations: 27.88 kB / 0.7288 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.166, allocations: 4 kB / 0.7288 GB, free: 5.832 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.0001686/0.1661, allocations: 197.3 kB / 0.729 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.1662, allocations: 27.81 kB / 0.729 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.1662, allocations: 33.77 kB / 0.729 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1662, allocations: 7.984 kB / 0.729 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1662, allocations: 0 / 0.729 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1663, allocations: 0 / 0.729 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.1665, allocations: 264.5 kB / 0.7293 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1665, allocations: 0 / 0.7293 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.001e-05/0.1666, allocations: 15.98 kB / 0.7293 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1666, allocations: 3.938 kB / 0.7293 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1666, allocations: 4 kB / 0.7293 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1666, allocations: 4 kB / 0.7293 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1666, allocations: 4 kB / 0.7293 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.1673, allocations: 477.6 kB / 0.7298 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.1673, allocations: 23.83 kB / 0.7298 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.1674, allocations: 8 kB / 0.7298 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1675, allocations: 11.98 kB / 0.7298 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.1676, allocations: 32.02 kB / 0.7299 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1676, allocations: 7.984 kB / 0.7299 GB, free: 4.652 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001936/0.1678, allocations: 201.2 kB / 0.7301 GB, free: 4.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1678, allocations: 192 / 0.7301 GB, free: 4.453 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002499/0.168, allocations: 55.94 kB / 0.7301 GB, free: 4.398 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.0001841/0.1682, allocations: 135.1 kB / 0.7302 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004614/0.1687, allocations: 267.1 kB / 0.7305 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1687, allocations: 4 kB / 0.7305 GB, free: 3.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.1689, allocations: 147.4 kB / 0.7306 GB, free: 3.824 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.1691, allocations: 32.47 kB / 0.7307 GB, free: 3.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007879/0.1699, allocations: 498.1 kB / 0.7311 GB, free: 3.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1703, allocations: 0.7515 MB / 0.7319 GB, free: 2.488 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.1704, allocations: 19.44 kB / 0.7319 GB, free: 2.469 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1704, allocations: 0 / 0.7319 GB, free: 2.469 MB / 0.545 GB Notification: Performance of Templates: time 0.005384/0.1758, allocations: 3.003 MB / 0.7348 GB, free: 15.47 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.684544161893427] Failed to read output from testmodel.py, exit status != 0: 0.18376885913312435 0.19805243599999994 0.035788467000000004 Calling exit ...