Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001265/0.001265, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001827/0.003092, allocations: 449.7 kB / 10.37 MB, free: 324 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.001198/0.001198, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.002757, allocations: 459.6 kB / 11.71 MB, free: 2.453 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.9502/0.9502, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08447/1.035, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.921/1.921, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5114/2.433, allocations: 127.1 MB / 0.7432 GB, free: 4.609 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7445 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.722e-05, allocations: 6.25 kB / 0.7445 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00258/0.002607, allocations: 2.027 MB / 0.7464 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003689, allocations: 0.7362 MB / 0.7472 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.00381, allocations: 7.938 kB / 0.7472 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.003978, allocations: 91.38 kB / 0.7473 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.004096, allocations: 102.4 kB / 0.7474 GB, free: 416 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.004528, allocations: 178.9 kB / 0.7475 GB, free: 240 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.004897, allocations: 253.2 kB / 0.7478 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.005028, allocations: 58.66 kB / 0.7478 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.00524, allocations: 175.7 kB / 0.748 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.005386, allocations: 114.6 kB / 0.7481 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.005413, allocations: 16 kB / 0.7481 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.005564, allocations: 99.91 kB / 0.7482 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.074e-05/0.005625, allocations: 51.8 kB / 0.7483 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.005677, allocations: 43.88 kB / 0.7483 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.005919, allocations: 207.2 kB / 0.7485 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.005933, allocations: 0 / 0.7485 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005934, allocations: 0 / 0.7485 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.005948, allocations: 3.062 kB / 0.7485 GB, free: 15.23 MB / 0.7292 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.0005962/0.006544, allocations: 0.5085 MB / 0.749 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.006578, allocations: 8.031 kB / 0.749 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.006626, allocations: 28.91 kB / 0.749 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.006862, allocations: 204.8 kB / 0.7492 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.006888, allocations: 13.56 kB / 0.7492 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.006916, allocations: 12.38 kB / 0.7493 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.007173, allocations: 257.4 kB / 0.7495 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.007181, allocations: 192 / 0.7495 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.007193, allocations: 4.375 kB / 0.7495 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.007199, allocations: 8.812 kB / 0.7495 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.944e-05/0.007279, allocations: 77.97 kB / 0.7496 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.00769, allocations: 460.9 kB / 0.75 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.007818, allocations: 137.4 kB / 0.7502 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.007864, allocations: 66.53 kB / 0.7502 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.007875, allocations: 4 kB / 0.7502 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.008019, allocations: 160.8 kB / 0.7504 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.674e-06/0.00802, allocations: 0.5938 kB / 0.7504 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.000199/0.008219, allocations: 215.9 kB / 0.7506 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.008256, allocations: 85.11 kB / 0.7507 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.008383, allocations: 228.9 kB / 0.7509 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.008399, allocations: 25.7 kB / 0.7509 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.00846, allocations: 137.8 kB / 0.751 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.008489, allocations: 43.62 kB / 0.7511 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.008534, allocations: 46.58 kB / 0.7511 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.008613, allocations: 330.8 kB / 0.7514 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.008658, allocations: 57.02 kB / 0.7515 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.79e-05/0.008736, allocations: 166.9 kB / 0.7517 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.839e-05/0.008834, allocations: 153 kB / 0.7518 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.008837, allocations: 0 / 0.7518 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001537/0.00899, allocations: 185.5 kB / 0.752 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.00903, allocations: 48.12 kB / 0.752 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.009034, allocations: 0 / 0.752 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.009043, allocations: 5.719 kB / 0.752 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.009128, allocations: 27.92 kB / 0.7521 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.009131, allocations: 0 / 0.7521 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.963e-05/0.009191, allocations: 19.89 kB / 0.7521 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.009202, allocations: 8.75 kB / 0.7521 GB, free: 11.24 MB / 0.7292 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 9.685e-05/0.009299, allocations: 164.1 kB / 0.7522 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.009324, allocations: 23.97 kB / 0.7523 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.009355, allocations: 32.92 kB / 0.7523 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.009357, allocations: 0 / 0.7523 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.009358, allocations: 0 / 0.7523 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.009361, allocations: 0 / 0.7523 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.009474, allocations: 137.7 kB / 0.7524 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.009475, allocations: 0 / 0.7524 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.009535, allocations: 19.98 kB / 0.7524 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.009553, allocations: 15.86 kB / 0.7525 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.009554, allocations: 3.531 kB / 0.7525 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.009566, allocations: 7.938 kB / 0.7525 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.009567, allocations: 0 / 0.7525 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.009568, allocations: 0 / 0.7525 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.009796, allocations: 281.1 kB / 0.7527 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.00982, allocations: 8 kB / 0.7527 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.009872, allocations: 4 kB / 0.7527 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.009922, allocations: 31.89 kB / 0.7528 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.009937, allocations: 7.984 kB / 0.7528 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.009992, allocations: 80.36 kB / 0.7529 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.009992, allocations: 0 / 0.7529 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001529/0.01014, allocations: 63.83 kB / 0.7529 GB, free: 10.31 MB / 0.7292 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.000131/0.01028, allocations: 120.5 kB / 0.753 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.01044, allocations: 216 kB / 0.7532 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.01045, allocations: 4 kB / 0.7532 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.01054, allocations: 138.8 kB / 0.7534 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.01069, allocations: 47 kB / 0.7534 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.01129, allocations: 425.1 kB / 0.7538 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.386e-05/0.01133, allocations: 88.94 kB / 0.7539 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.205e-05/0.01138, allocations: 20.75 kB / 0.7539 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.0115, allocations: 95.36 kB / 0.754 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of SimCode: time 8.51e-07/0.0115, allocations: 0 / 0.754 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of Templates: time 0.005214/0.01671, allocations: 3.215 MB / 0.7572 GB, free: 6.039 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.906055719591677]