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.001354/0.001354, allocations: 109 kB / 20.45 MB, free: 1.52 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.001547/0.001547, allocations: 213.7 kB / 23.76 MB, free: 4.746 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.002/1.002, allocations: 150 MB / 463.9 MB, free: 10.55 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.00204/0.00204, allocations: 66.33 kB / 0.6425 GB, free: 9.977 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1923, allocations: 89.17 MB / 0.7296 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003725/0.1961, allocations: 1.985 MB / 0.7315 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1976, allocations: 0.7557 MB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.1977, allocations: 8 kB / 0.7322 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.198, allocations: 79.64 kB / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.1982, allocations: 91.56 kB / 0.7324 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006889/0.1989, allocations: 195.2 kB / 0.7326 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.1993, allocations: 259.4 kB / 0.7328 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.1995, allocations: 48.58 kB / 0.7329 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.1997, allocations: 123.6 kB / 0.733 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.1999, allocations: 155.5 kB / 0.7332 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.2, allocations: 27.94 kB / 0.7332 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.2001, allocations: 87.94 kB / 0.7333 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.2002, allocations: 63.75 kB / 0.7333 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2003, allocations: 103.4 kB / 0.7334 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.2008, allocations: 314.7 kB / 0.7337 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2008, allocations: 0 / 0.7337 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2008, allocations: 0 / 0.7337 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.2008, allocations: 0 / 0.7337 GB, free: 12.59 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.0009537/0.2017, allocations: 0.5141 MB / 0.7342 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2018, allocations: 12.03 kB / 0.7342 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.2018, allocations: 28.75 kB / 0.7343 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005907/0.2024, allocations: 249.2 kB / 0.7345 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.2025, allocations: 16.12 kB / 0.7345 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.2025, allocations: 12 kB / 0.7345 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.203, allocations: 235.1 kB / 0.7348 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.203, allocations: 0 / 0.7348 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.203, allocations: 8 kB / 0.7348 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.203, allocations: 0 / 0.7348 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.2033, allocations: 132.3 kB / 0.7349 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009106/0.2042, allocations: 0.6488 MB / 0.7355 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.2046, allocations: 154.5 kB / 0.7357 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.2047, allocations: 88.95 kB / 0.7358 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.2048, allocations: 7.938 kB / 0.7358 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.2051, allocations: 165 kB / 0.7359 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.2051, allocations: 0 / 0.7359 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007407/0.2058, allocations: 383 kB / 0.7363 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.2059, allocations: 132.5 kB / 0.7364 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.2062, allocations: 277.9 kB / 0.7367 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.2063, allocations: 29.7 kB / 0.7367 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.2064, allocations: 160.3 kB / 0.7369 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.2064, allocations: 43.62 kB / 0.7369 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.2065, allocations: 41.8 kB / 0.7369 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2067, allocations: 346.7 kB / 0.7373 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.2069, allocations: 87.95 kB / 0.7374 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.2071, allocations: 129.8 kB / 0.7375 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.2075, allocations: 252.9 kB / 0.7377 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2075, allocations: 0 / 0.7377 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000545/0.208, allocations: 332.8 kB / 0.738 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.2081, allocations: 37.69 kB / 0.7381 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2081, allocations: 0 / 0.7381 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2081, allocations: 4 kB / 0.7381 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.2082, allocations: 24.08 kB / 0.7381 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.2082, allocations: 3.938 kB / 0.7381 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.2083, allocations: 35.77 kB / 0.7381 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.2084, allocations: 8 kB / 0.7381 GB, free: 7.762 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.0002088/0.2086, allocations: 183.5 kB / 0.7383 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.2086, allocations: 31.86 kB / 0.7384 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.2087, allocations: 29.77 kB / 0.7384 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2087, allocations: 0 / 0.7384 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2087, allocations: 0 / 0.7384 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2087, allocations: 3.938 kB / 0.7384 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.209, allocations: 264.5 kB / 0.7386 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.209, allocations: 0 / 0.7386 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.2091, allocations: 19.92 kB / 0.7387 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2091, allocations: 0 / 0.7387 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.2091, allocations: 8 kB / 0.7387 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2091, allocations: 0 / 0.7387 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2091, allocations: 4 kB / 0.7387 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008561/0.21, allocations: 477.5 kB / 0.7391 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.21, allocations: 23.83 kB / 0.7391 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.2101, allocations: 8 kB / 0.7392 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2102, allocations: 19.92 kB / 0.7392 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.2103, allocations: 31.88 kB / 0.7392 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.2103, allocations: 8.062 kB / 0.7392 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002097/0.2105, allocations: 205.2 kB / 0.7394 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2105, allocations: 0 / 0.7394 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00028/0.2108, allocations: 55.89 kB / 0.7395 GB, free: 6.34 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.0001934/0.211, allocations: 131.2 kB / 0.7396 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000485/0.2115, allocations: 259.4 kB / 0.7398 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2115, allocations: 0 / 0.7398 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.2117, allocations: 159.3 kB / 0.74 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.212, allocations: 36.28 kB / 0.74 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008904/0.2129, allocations: 481.9 kB / 0.7405 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.2134, allocations: 0.7515 MB / 0.7412 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.2135, allocations: 23.42 kB / 0.7412 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2135, allocations: 0 / 0.7412 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.005751/0.2192, allocations: 2.991 MB / 0.7442 GB, free: 1.445 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: 8.701572341145948] Failed to read output from testmodel.py, exit status != 0: 0.22799017396755517 0.24355421100000002 0.039494898 Calling exit ...