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.001259/0.001259, allocations: 92.11 kB / 20.43 MB, free: 4.141 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.001136/0.001136, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 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.068/1.068, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.6286/0.6286, allocations: 114.9 MB / 375.7 MB, free: 7.648 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 1.794e-06/1.794e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.721e-05, allocations: 2.312 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002554/0.002581, allocations: 1.976 MB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.003692, allocations: 0.7265 MB / 484.2 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.003825, allocations: 5.438 kB / 484.2 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.004063, allocations: 84.66 kB / 484.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.004178, allocations: 97.09 kB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.004754, allocations: 187.7 kB / 484.6 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.005123, allocations: 260.9 kB / 484.8 MB, free: 9.871 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.005281, allocations: 45.22 kB / 484.9 MB, free: 9.848 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.005492, allocations: 157 kB / 485 MB, free: 9.781 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.00572, allocations: 141.2 kB / 485.2 MB, free: 9.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/0.005765, allocations: 20.62 kB / 485.2 MB, free: 9.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.005907, allocations: 85.98 kB / 485.3 MB, free: 9.734 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.005984, allocations: 55.7 kB / 485.3 MB, free: 9.703 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.634e-05/0.00606, allocations: 68.03 kB / 485.4 MB, free: 9.664 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.006394, allocations: 243.4 kB / 485.6 MB, free: 9.543 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.006396, allocations: 0.8125 kB / 485.6 MB, free: 9.543 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.006397, allocations: 0 / 485.6 MB, free: 9.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.006404, allocations: 0.7812 kB / 485.6 MB, free: 9.543 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.0006734/0.007078, allocations: 0.6057 MB / 486.2 MB, free: 9.012 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.007117, allocations: 8.906 kB / 486.2 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.837e-05/0.007196, allocations: 42.22 kB / 486.3 MB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.0075, allocations: 241 kB / 486.5 MB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.00753, allocations: 14.97 kB / 486.5 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.007567, allocations: 18.39 kB / 486.5 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.007849, allocations: 276.6 kB / 486.8 MB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.007859, allocations: 1.25 kB / 486.8 MB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.007876, allocations: 6.406 kB / 486.8 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.007885, allocations: 3.656 kB / 486.8 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.008004, allocations: 83.64 kB / 486.9 MB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.009116, allocations: 0.7244 MB / 487.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.009291, allocations: 111.9 kB / 487.7 MB, free: 23.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.152e-05/0.009362, allocations: 71.95 kB / 487.8 MB, free: 23.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.009375, allocations: 2.75 kB / 487.8 MB, free: 23.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.009531, allocations: 152.1 kB / 488 MB, free: 23.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.485e-06/0.009533, allocations: 1.531 kB / 488 MB, free: 23.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003574/0.009891, allocations: 275 kB / 488.2 MB, free: 23.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.009932, allocations: 133 kB / 488.4 MB, free: 23.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.01015, allocations: 308.7 kB / 488.7 MB, free: 23.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.01017, allocations: 28.67 kB / 488.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.01027, allocations: 211.8 kB / 488.9 MB, free: 22.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.0103, allocations: 41.69 kB / 488.9 MB, free: 22.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.01036, allocations: 49.64 kB / 489 MB, free: 22.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.01049, allocations: 0.5074 MB / 489.5 MB, free: 22.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.01056, allocations: 59.92 kB / 489.5 MB, free: 22.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.01066, allocations: 171.7 kB / 489.7 MB, free: 22.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.01079, allocations: 161.9 kB / 489.9 MB, free: 21.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01079, allocations: 1.25 kB / 489.9 MB, free: 21.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002569/0.01105, allocations: 245.5 kB / 490.1 MB, free: 21.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.01108, allocations: 42.09 kB / 490.2 MB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.01109, allocations: 1.062 kB / 490.2 MB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.01111, allocations: 1.312 kB / 490.2 MB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.0112, allocations: 20.41 kB / 490.2 MB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01121, allocations: 6.547 kB / 490.2 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.01128, allocations: 25.23 kB / 490.2 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.01129, allocations: 7.25 kB / 490.2 MB, free: 21.75 MB / 426.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.0001111/0.0114, allocations: 208.9 kB / 490.4 MB, free: 21.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.01143, allocations: 33.16 kB / 490.5 MB, free: 21.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.01147, allocations: 24.08 kB / 490.5 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01147, allocations: 1.062 kB / 490.5 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01148, allocations: 2.25 kB / 490.5 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01148, allocations: 3.188 kB / 490.5 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.01165, allocations: 222.9 kB / 490.7 MB, free: 21.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.01165, allocations: 3.734 kB / 490.7 MB, free: 21.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.01172, allocations: 25.41 kB / 490.7 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01173, allocations: 1.188 kB / 490.7 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.01174, allocations: 6.156 kB / 490.7 MB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01175, allocations: 5.281 kB / 490.7 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01175, allocations: 0 / 490.7 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.01211, allocations: 341.7 kB / 491.1 MB, free: 21.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.01213, allocations: 25.94 kB / 491.1 MB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.01216, allocations: 9.906 kB / 491.1 MB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.01221, allocations: 17.47 kB / 491.1 MB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.01228, allocations: 25.34 kB / 491.2 MB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.0123, allocations: 6.406 kB / 491.2 MB, free: 21.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.01241, allocations: 207.5 kB / 491.4 MB, free: 20.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01241, allocations: 0 / 491.4 MB, free: 20.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.01264, allocations: 56.47 kB / 491.4 MB, free: 20.89 MB / 426.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.0001752/0.01282, allocations: 134.2 kB / 491.5 MB, free: 20.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.01309, allocations: 225.3 kB / 491.8 MB, free: 20.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.0131, allocations: 1.594 kB / 491.8 MB, free: 20.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.0132, allocations: 153.6 kB / 491.9 MB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.01342, allocations: 41.39 kB / 492 MB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.01399, allocations: 415.5 kB / 492.4 MB, free: 20.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.943e-05/0.01404, allocations: 85.03 kB / 492.4 MB, free: 20.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.469e-05/0.0141, allocations: 16.25 kB / 492.5 MB, free: 20.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.01414, allocations: 21.55 kB / 492.5 MB, free: 20.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01414, allocations: 0 / 492.5 MB, free: 20.14 MB / 426.7 MB Notification: Performance of Templates: time 0.005713/0.01985, allocations: 2.928 MB / 495.4 MB, free: 19.91 MB / 426.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7620416712015867]