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.001329/0.001329, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001594/0.001594, allocations: 202 kB / 23.74 MB, free: 4.543 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.812 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 0.9799/0.9799, allocations: 149.9 MB / 463.8 MB, free: 10.36 MB / 366.1 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: 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.002106/0.002106, allocations: 66.64 kB / 0.6423 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2008, allocations: 89.17 MB / 0.7294 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004359/0.2051, allocations: 1.915 MB / 0.7312 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.2069, allocations: 0.6974 MB / 0.7319 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.2071, allocations: 7.938 kB / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.2074, allocations: 79.64 kB / 0.732 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.2076, allocations: 87.62 kB / 0.7321 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007219/0.2084, allocations: 199.3 kB / 0.7323 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.2088, allocations: 255.5 kB / 0.7325 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.2089, allocations: 42.19 kB / 0.7326 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.2091, allocations: 119.6 kB / 0.7327 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.2094, allocations: 147.5 kB / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.2094, allocations: 24 kB / 0.7328 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.2096, allocations: 95.91 kB / 0.7329 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.2097, allocations: 59.72 kB / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2098, allocations: 79.53 kB / 0.7331 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.2102, allocations: 306.8 kB / 0.7334 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.2102, allocations: 7.922 kB / 0.7334 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2102, allocations: 0 / 0.7334 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.2102, allocations: 0 / 0.7334 GB, free: 12.42 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.0009091/0.2112, allocations: 0.5219 MB / 0.7339 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2112, allocations: 11.97 kB / 0.7339 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.083e-05/0.2113, allocations: 32.75 kB / 0.7339 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.2118, allocations: 241.2 kB / 0.7341 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.2118, allocations: 12.12 kB / 0.7342 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.2119, allocations: 20 kB / 0.7342 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.2123, allocations: 312.3 kB / 0.7345 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2124, allocations: 3.938 kB / 0.7345 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.2124, allocations: 8 kB / 0.7345 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.2124, allocations: 4 kB / 0.7345 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.2127, allocations: 154.1 kB / 0.7346 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008531/0.2135, allocations: 0.5791 MB / 0.7352 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.2139, allocations: 180.2 kB / 0.7354 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.2141, allocations: 118.7 kB / 0.7355 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.2141, allocations: 4.094 kB / 0.7355 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/0.2144, allocations: 206.7 kB / 0.7357 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.2144, allocations: 0 / 0.7357 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0008275/0.2153, allocations: 448.7 kB / 0.7361 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.2154, allocations: 136.5 kB / 0.7362 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.2157, allocations: 265.9 kB / 0.7365 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.2157, allocations: 29.7 kB / 0.7365 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.2159, allocations: 164.3 kB / 0.7367 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.2159, allocations: 47.61 kB / 0.7367 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.216, allocations: 37.72 kB / 0.7368 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2162, allocations: 338.8 kB / 0.7371 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.2164, allocations: 117.7 kB / 0.7372 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.2166, allocations: 214.3 kB / 0.7374 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.217, allocations: 252.6 kB / 0.7376 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.217, allocations: 0 / 0.7376 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005788/0.2176, allocations: 372.8 kB / 0.738 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.2176, allocations: 39.88 kB / 0.738 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2176, allocations: 16.02 kB / 0.7381 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2177, allocations: 0 / 0.7381 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.2178, allocations: 23.98 kB / 0.7381 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.2178, allocations: 4 kB / 0.7381 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.2179, allocations: 15.94 kB / 0.7381 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.2179, allocations: 15.94 kB / 0.7381 GB, free: 7.184 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.0002017/0.2181, allocations: 195.4 kB / 0.7383 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.2182, allocations: 23.86 kB / 0.7383 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.2182, allocations: 29.86 kB / 0.7384 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2182, allocations: 3.938 kB / 0.7384 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2182, allocations: 4 kB / 0.7384 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2182, allocations: 0 / 0.7384 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.2185, allocations: 209.1 kB / 0.7386 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2185, allocations: 4 kB / 0.7386 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.922e-05/0.2186, allocations: 15.98 kB / 0.7386 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2186, allocations: 0 / 0.7386 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2186, allocations: 4 kB / 0.7386 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2186, allocations: 0 / 0.7386 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2186, allocations: 8 kB / 0.7386 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008141/0.2194, allocations: 0.5291 MB / 0.7391 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.2194, allocations: 15.86 kB / 0.7391 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.2195, allocations: 11.94 kB / 0.7391 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.2196, allocations: 11.98 kB / 0.7391 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.793e-05/0.2197, allocations: 23.95 kB / 0.7392 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.2197, allocations: 8 kB / 0.7392 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001908/0.2199, allocations: 193.2 kB / 0.7394 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2199, allocations: 4.062 kB / 0.7394 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002864/0.2202, allocations: 59.89 kB / 0.7394 GB, free: 5.766 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.0002067/0.2204, allocations: 135 kB / 0.7395 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005531/0.2209, allocations: 322.6 kB / 0.7399 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2209, allocations: 0 / 0.7399 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.2212, allocations: 185.2 kB / 0.74 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.2215, allocations: 28.48 kB / 0.7401 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/0.2224, allocations: 0.5112 MB / 0.7406 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.2226, allocations: 140.7 kB / 0.7407 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.305e-05/0.2226, allocations: 23.42 kB / 0.7407 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2226, allocations: 288 / 0.7407 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of Templates: time 0.006782/0.2294, allocations: 3.035 MB / 0.7437 GB, free: 1.305 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.530478893779218] Failed to read output from testmodel.py, exit status != 0: 0.2390438299626112 0.256164911 0.042512181 Calling exit ...