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.001038/0.001038, allocations: 76.94 kB / 20.72 MB, free: 3.762 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.0012/0.0012, allocations: 169 kB / 24.14 MB, free: 352 kB / 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 1.058/1.058, allocations: 177.1 MB / 204.6 MB, free: 5.453 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.6581/0.6581, allocations: 115 MB / 376 MB, free: 7.461 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 2.525e-06/2.525e-06, allocations: 0 / 428.7 MB, free: 2.758 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/3.024e-05, allocations: 6.25 kB / 428.7 MB, free: 2.75 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003921/0.003951, allocations: 2.014 MB / 430.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.005268, allocations: 0.7359 MB / 431.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.005393, allocations: 0 / 431.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.005621, allocations: 83.58 kB / 431.6 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.005743, allocations: 99.5 kB / 431.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.006221, allocations: 175.6 kB / 431.8 MB, free: 15.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.006488, allocations: 263.4 kB / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.006637, allocations: 54.75 kB / 432.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.006814, allocations: 159.6 kB / 432.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.00698, allocations: 123.7 kB / 432.4 MB, free: 15.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.007008, allocations: 16 kB / 432.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.007168, allocations: 95.92 kB / 432.5 MB, free: 14.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.007238, allocations: 63.77 kB / 432.6 MB, free: 14.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.584e-05/0.007304, allocations: 59.83 kB / 432.7 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.007589, allocations: 223.2 kB / 432.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.007591, allocations: 0 / 432.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.007592, allocations: 0 / 432.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.007597, allocations: 4 kB / 432.9 MB, free: 14.59 MB / 410.7 MB 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.0005256/0.008123, allocations: 481.1 kB / 433.3 MB, free: 14.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.00816, allocations: 8.031 kB / 433.4 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.008213, allocations: 32.91 kB / 433.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.008441, allocations: 204.8 kB / 433.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.008464, allocations: 12.38 kB / 433.6 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.008489, allocations: 12.38 kB / 433.6 MB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.008736, allocations: 255.9 kB / 433.9 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.008744, allocations: 4 kB / 433.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.008757, allocations: 8 kB / 433.9 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.008766, allocations: 8 kB / 433.9 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.00884, allocations: 80.89 kB / 434 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.00929, allocations: 451.7 kB / 434.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.009422, allocations: 132.1 kB / 434.5 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.009471, allocations: 70.53 kB / 434.6 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.009482, allocations: 0 / 434.6 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.009645, allocations: 145.5 kB / 434.7 MB, free: 12.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.009647, allocations: 0 / 434.7 MB, free: 12.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002288/0.009876, allocations: 210.7 kB / 434.9 MB, free: 12.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.009936, allocations: 136.5 kB / 435.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.01009, allocations: 232.9 kB / 435.3 MB, free: 11.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.01011, allocations: 29.7 kB / 435.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.01017, allocations: 132.9 kB / 435.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.0102, allocations: 47.56 kB / 435.5 MB, free: 11.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.01025, allocations: 45.69 kB / 435.6 MB, free: 11.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.01036, allocations: 342.8 kB / 435.9 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.572e-05/0.0104, allocations: 48.52 kB / 435.9 MB, free: 11.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.943e-05/0.01049, allocations: 146.2 kB / 436.1 MB, free: 11.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.0106, allocations: 149.3 kB / 436.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0106, allocations: 0 / 436.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001576/0.01076, allocations: 183.7 kB / 436.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.0108, allocations: 41.69 kB / 436.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.01081, allocations: 4 kB / 436.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.01082, allocations: 0 / 436.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.01091, allocations: 23.98 kB / 436.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.01091, allocations: 3.984 kB / 436.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.01097, allocations: 15.89 kB / 436.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.01098, allocations: 8 kB / 436.5 MB, free: 10.59 MB / 410.7 MB 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.0001035/0.01109, allocations: 166.2 kB / 436.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.01111, allocations: 31.91 kB / 436.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.01115, allocations: 21.77 kB / 436.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.01115, allocations: 4 kB / 436.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01115, allocations: 0 / 436.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01115, allocations: 0 / 436.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.01127, allocations: 125.8 kB / 436.8 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01127, allocations: 0 / 436.8 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.01134, allocations: 19.92 kB / 436.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01134, allocations: 3.938 kB / 436.9 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01135, allocations: 12 kB / 436.9 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01135, allocations: 0 / 436.9 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01135, allocations: 0 / 436.9 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.01159, allocations: 272.1 kB / 437.1 MB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.01161, allocations: 19.8 kB / 437.2 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.01164, allocations: 19.88 kB / 437.2 MB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.433e-05/0.01168, allocations: 11.98 kB / 437.2 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.01174, allocations: 23.95 kB / 437.2 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.01176, allocations: 8 kB / 437.2 MB, free: 9.793 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.764e-05/0.01181, allocations: 74.77 kB / 437.3 MB, free: 9.715 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01181, allocations: 8.031 kB / 437.3 MB, free: 9.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.01198, allocations: 55.89 kB / 437.4 MB, free: 9.652 MB / 410.7 MB 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.0001524/0.01213, allocations: 120.5 kB / 437.5 MB, free: 9.527 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.01232, allocations: 207.5 kB / 437.7 MB, free: 9.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.01232, allocations: 0 / 437.7 MB, free: 9.297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.925e-05/0.01241, allocations: 145.8 kB / 437.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.01258, allocations: 36.67 kB / 437.9 MB, free: 9.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.0131, allocations: 411.6 kB / 438.3 MB, free: 8.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.973e-05/0.01315, allocations: 87.81 kB / 438.3 MB, free: 8.555 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.244e-05/0.01321, allocations: 17.48 kB / 438.4 MB, free: 8.539 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.01334, allocations: 103.3 kB / 438.5 MB, free: 8.438 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01334, allocations: 0 / 438.5 MB, free: 8.438 MB / 410.7 MB Notification: Performance of Templates: time 0.005243/0.01858, allocations: 3.122 MB / 441.6 MB, free: 5.332 MB / 410.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6242032321169972]