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.001544/0.001544, allocations: 115.1 kB / 19.7 MB, free: 2.039 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.001607/0.001607, allocations: 225.2 kB / 23.01 MB, free: 4.934 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] 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 1.023/1.023, allocations: 150 MB / 463.1 MB, free: 10.56 MB / 366.1 MB " [Timeout remaining time 178] 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: IBPSA 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.00231/0.00231, allocations: 61.78 kB / 0.6417 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2108, allocations: 89.18 MB / 0.7288 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003518/0.2143, allocations: 1.977 MB / 0.7307 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.2158, allocations: 0.7558 MB / 0.7315 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.216, allocations: 3.938 kB / 0.7315 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.2163, allocations: 83.62 kB / 0.7316 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.2164, allocations: 91.64 kB / 0.7316 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.2171, allocations: 187.1 kB / 0.7318 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.2175, allocations: 263.4 kB / 0.7321 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.2176, allocations: 54.09 kB / 0.7321 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.2178, allocations: 123.6 kB / 0.7322 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.2181, allocations: 159.5 kB / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.2181, allocations: 20 kB / 0.7324 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.2183, allocations: 91.92 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.123e-05/0.2184, allocations: 59.78 kB / 0.7326 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.2185, allocations: 111.3 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.219, allocations: 302.8 kB / 0.733 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.219, allocations: 7.922 kB / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.714e-06/0.219, allocations: 0 / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.219, allocations: 0 / 0.733 GB, free: 12.64 MB / 0.5606 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.0009715/0.22, allocations: 0.518 MB / 0.7335 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.22, allocations: 8.031 kB / 0.7335 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.2201, allocations: 32.75 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/0.2206, allocations: 245.2 kB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.2206, allocations: 16.12 kB / 0.7338 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.2207, allocations: 16 kB / 0.7338 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.2211, allocations: 219.2 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2211, allocations: 4 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.2211, allocations: 11.94 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2211, allocations: 4 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.2214, allocations: 132.4 kB / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00091/0.2223, allocations: 0.6526 MB / 0.7348 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.2227, allocations: 150.5 kB / 0.7349 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.2229, allocations: 88.95 kB / 0.735 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.2229, allocations: 0 / 0.735 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.2232, allocations: 177 kB / 0.7352 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.2232, allocations: 0 / 0.7352 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007352/0.2239, allocations: 379 kB / 0.7355 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.224, allocations: 136.5 kB / 0.7357 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.2243, allocations: 277.9 kB / 0.7359 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.2244, allocations: 33.7 kB / 0.7359 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.2245, allocations: 156.3 kB / 0.7361 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.2246, allocations: 47.64 kB / 0.7361 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/0.2246, allocations: 37.7 kB / 0.7362 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.2248, allocations: 342.8 kB / 0.7365 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.225, allocations: 83.95 kB / 0.7366 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.2252, allocations: 131.9 kB / 0.7367 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.2256, allocations: 241.2 kB / 0.7369 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2256, allocations: 0 / 0.7369 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005309/0.2261, allocations: 339.1 kB / 0.7373 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.2261, allocations: 37.69 kB / 0.7373 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2262, allocations: 4 kB / 0.7373 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2262, allocations: 0 / 0.7373 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.2263, allocations: 31.92 kB / 0.7373 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2263, allocations: 3.984 kB / 0.7373 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2264, allocations: 31.86 kB / 0.7374 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.2265, allocations: 11.94 kB / 0.7374 GB, free: 7.82 MB / 0.5606 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.0002087/0.2267, allocations: 195.5 kB / 0.7376 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.2267, allocations: 23.86 kB / 0.7376 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.2268, allocations: 21.78 kB / 0.7376 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2268, allocations: 7.984 kB / 0.7376 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2268, allocations: 0 / 0.7376 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2268, allocations: 7.875 kB / 0.7376 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.2271, allocations: 256.5 kB / 0.7379 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2271, allocations: 0 / 0.7379 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.2272, allocations: 23.98 kB / 0.7379 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2272, allocations: 0 / 0.7379 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.2272, allocations: 7.984 kB / 0.7379 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2272, allocations: 0 / 0.7379 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2272, allocations: 0 / 0.7379 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/0.2279, allocations: 469.5 kB / 0.7383 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.228, allocations: 43.86 kB / 0.7384 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.228, allocations: 8 kB / 0.7384 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.2281, allocations: 11.98 kB / 0.7384 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.2282, allocations: 27.89 kB / 0.7384 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2282, allocations: 4 kB / 0.7384 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002088/0.2284, allocations: 201.2 kB / 0.7386 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2284, allocations: 0 / 0.7386 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000283/0.2287, allocations: 63.88 kB / 0.7387 GB, free: 6.398 MB / 0.5606 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.0002038/0.2289, allocations: 135.2 kB / 0.7388 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004894/0.2294, allocations: 259.2 kB / 0.7391 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2294, allocations: 0 / 0.7391 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.2297, allocations: 151.4 kB / 0.7392 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.23, allocations: 36.67 kB / 0.7392 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008147/0.2308, allocations: 454.1 kB / 0.7397 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.2312, allocations: 0.7593 MB / 0.7404 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.09e-05/0.2313, allocations: 17.42 kB / 0.7404 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.2313, allocations: 23.44 kB / 0.7405 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2313, allocations: 0 / 0.7405 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.007157/0.2385, allocations: 2.902 MB / 0.7433 GB, free: 1.621 MB / 0.5606 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: 6.254351027309895] Failed to read output from testmodel.py, exit status != 0: 0.24691102793440223 0.260966279 0.038970805000000004 Calling exit ...