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.00103/0.00103, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.00239, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001043/0.001043, allocations: 161.1 kB / 11.34 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002401, allocations: 483.5 kB / 11.81 MB, free: 2.363 MB / 13.93 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 0.9641/0.9641, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07786/1.042, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5977/0.5977, allocations: 120.1 MB / 364.2 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06443/0.6621, allocations: 38.16 MB / 402.4 MB, free: 12.25 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.373e-06/1.373e-06, allocations: 0 / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.758e-06/1.113e-05, allocations: 6.25 kB / 403.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002009/0.00202, allocations: 2.01 MB / 405.7 MB, free: 8.906 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008192/0.00284, allocations: 0.7399 MB / 406.5 MB, free: 8.164 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-05/0.002925, allocations: 3.938 kB / 406.5 MB, free: 8.16 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.003071, allocations: 95.61 kB / 406.6 MB, free: 8.066 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.218e-05/0.003164, allocations: 99.55 kB / 406.7 MB, free: 7.969 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.003498, allocations: 171.6 kB / 406.8 MB, free: 7.801 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.003731, allocations: 259.3 kB / 407.1 MB, free: 7.547 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.003846, allocations: 58.73 kB / 407.1 MB, free: 7.484 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.004008, allocations: 171.7 kB / 407.3 MB, free: 7.316 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.00414, allocations: 115.7 kB / 407.4 MB, free: 7.203 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.004166, allocations: 23.94 kB / 407.4 MB, free: 7.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.004297, allocations: 99.91 kB / 407.5 MB, free: 7.082 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.004351, allocations: 35.88 kB / 407.6 MB, free: 7.047 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.004402, allocations: 51.81 kB / 407.6 MB, free: 6.996 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.004613, allocations: 199.3 kB / 407.8 MB, free: 6.801 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.004623, allocations: 0 / 407.8 MB, free: 6.801 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004624, allocations: 0 / 407.8 MB, free: 6.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.004634, allocations: 0 / 407.8 MB, free: 6.801 MB / 394.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.0005244/0.005158, allocations: 0.5163 MB / 408.3 MB, free: 6.254 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.005186, allocations: 11.97 kB / 408.3 MB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.005232, allocations: 28.91 kB / 408.4 MB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.005423, allocations: 208.7 kB / 408.6 MB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.005446, allocations: 12.38 kB / 408.6 MB, free: 5.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.005473, allocations: 20.38 kB / 408.6 MB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.005685, allocations: 251.9 kB / 408.9 MB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.005692, allocations: 4 kB / 408.9 MB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.005704, allocations: 8 kB / 408.9 MB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.005712, allocations: 4 kB / 408.9 MB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.005779, allocations: 72.91 kB / 408.9 MB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.006163, allocations: 467.6 kB / 409.4 MB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.006279, allocations: 140.1 kB / 409.5 MB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.006322, allocations: 62.53 kB / 409.6 MB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.006331, allocations: 8 kB / 409.6 MB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.006458, allocations: 153.5 kB / 409.8 MB, free: 4.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.006459, allocations: 0 / 409.8 MB, free: 4.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001932/0.006652, allocations: 203.2 kB / 410 MB, free: 4.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.006708, allocations: 174.2 kB / 410.1 MB, free: 4.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.00683, allocations: 236.9 kB / 410.4 MB, free: 4.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.006845, allocations: 29.7 kB / 410.4 MB, free: 3.969 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.006897, allocations: 128.9 kB / 410.5 MB, free: 3.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.006924, allocations: 47.62 kB / 410.6 MB, free: 3.793 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.006968, allocations: 45.67 kB / 410.6 MB, free: 3.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.007041, allocations: 342.8 kB / 410.9 MB, free: 3.398 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.007079, allocations: 48.53 kB / 411 MB, free: 3.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.007149, allocations: 158.2 kB / 411.1 MB, free: 3.152 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.327e-05/0.007243, allocations: 153.7 kB / 411.3 MB, free: 2.977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007245, allocations: 4 kB / 411.3 MB, free: 2.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001361/0.007381, allocations: 195.7 kB / 411.5 MB, free: 2.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.007413, allocations: 41.69 kB / 411.5 MB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.007417, allocations: 0 / 411.5 MB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.007428, allocations: 4 kB / 411.5 MB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/0.007498, allocations: 23.92 kB / 411.6 MB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.007502, allocations: 4 kB / 411.6 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.007559, allocations: 23.88 kB / 411.6 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.007569, allocations: 4 kB / 411.6 MB, free: 2.656 MB / 394.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 8.692e-05/0.007656, allocations: 166.4 kB / 411.7 MB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.007677, allocations: 23.92 kB / 411.8 MB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.007706, allocations: 25.77 kB / 411.8 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.00771, allocations: 4 kB / 411.8 MB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007712, allocations: 0 / 411.8 MB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007714, allocations: 0 / 411.8 MB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.784e-05/0.007812, allocations: 125.8 kB / 411.9 MB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007813, allocations: 0 / 411.9 MB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.00786, allocations: 15.98 kB / 411.9 MB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.007877, allocations: 23.8 kB / 412 MB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.007878, allocations: 0 / 412 MB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.007888, allocations: 8 kB / 412 MB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.007891, allocations: 4 kB / 412 MB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.007893, allocations: 3.984 kB / 412 MB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.008096, allocations: 283.6 kB / 412.3 MB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.008119, allocations: 11.94 kB / 412.3 MB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.008158, allocations: 11.98 kB / 412.3 MB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.008205, allocations: 23.95 kB / 412.3 MB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.008216, allocations: 7.984 kB / 412.3 MB, free: 1.855 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.407e-05/0.00827, allocations: 78.77 kB / 412.4 MB, free: 1.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00827, allocations: 0 / 412.4 MB, free: 1.777 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.008428, allocations: 67.86 kB / 412.4 MB, free: 1.711 MB / 394.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.0001319/0.00856, allocations: 116.3 kB / 412.6 MB, free: 1.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.008745, allocations: 215.5 kB / 412.8 MB, free: 1.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.008752, allocations: 4 kB / 412.8 MB, free: 1.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.645e-05/0.008839, allocations: 149.9 kB / 412.9 MB, free: 1.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.009054, allocations: 215.2 kB / 413.1 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.00963, allocations: 423.4 kB / 413.5 MB, free: 500 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.884e-05/0.009669, allocations: 87.81 kB / 413.6 MB, free: 392 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.759e-05/0.009716, allocations: 21.47 kB / 413.7 MB, free: 368 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.009825, allocations: 91.36 kB / 413.7 MB, free: 276 kB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.009826, allocations: 4 kB / 413.7 MB, free: 272 kB / 394.7 MB Notification: Performance of Templates: time 0.004891/0.01472, allocations: 3.207 MB / 417 MB, free: 13.05 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0687247617170215]