Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001108/0.001108, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001314/0.001314, allocations: 169 kB / 23.27 MB, free: 1.223 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.006/1.006, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001618/0.001618, allocations: 241.9 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7054/0.7054, allocations: 138.4 MB / 455.5 MB, free: 1.449 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5556 GB, free: 324 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.501e-05, allocations: 2.312 kB / 0.5556 GB, free: 320 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002336/0.002351, allocations: 1.966 MB / 0.5575 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008651/0.003216, allocations: 0.7166 MB / 0.5582 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.458e-05/0.003311, allocations: 7.938 kB / 0.5582 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.003505, allocations: 79.64 kB / 0.5583 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.146e-05/0.003596, allocations: 95.56 kB / 0.5584 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.003974, allocations: 187.5 kB / 0.5585 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.004179, allocations: 259.3 kB / 0.5588 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.004295, allocations: 57.94 kB / 0.5588 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.004438, allocations: 155.7 kB / 0.559 GB, free: 12.78 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.004577, allocations: 131.7 kB / 0.5591 GB, free: 12.65 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.004603, allocations: 16 kB / 0.5591 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.76e-05/0.004701, allocations: 91.91 kB / 0.5592 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.004763, allocations: 59.77 kB / 0.5593 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.004813, allocations: 55.8 kB / 0.5593 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.005025, allocations: 231.2 kB / 0.5596 GB, free: 12.21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.005027, allocations: 0 / 0.5596 GB, free: 12.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.005027, allocations: 0 / 0.5596 GB, free: 12.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.005031, allocations: 7.938 kB / 0.5596 GB, free: 12.2 MB / 490.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.0004919/0.005523, allocations: 0.6023 MB / 0.5602 GB, free: 11.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.005557, allocations: 8.75 kB / 0.5602 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.005605, allocations: 44.69 kB / 0.5602 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.005791, allocations: 223.6 kB / 0.5604 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.005809, allocations: 12.38 kB / 0.5604 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.005833, allocations: 20.36 kB / 0.5604 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.00605, allocations: 259.6 kB / 0.5607 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.006058, allocations: 192 / 0.5607 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.00607, allocations: 16.31 kB / 0.5607 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.006077, allocations: 7.938 kB / 0.5607 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.871e-05/0.006146, allocations: 70.14 kB / 0.5608 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.006614, allocations: 0.6741 MB / 0.5614 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.006855, allocations: 104.9 kB / 0.5615 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.0069, allocations: 61.38 kB / 0.5616 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.006909, allocations: 4 kB / 0.5616 GB, free: 9.922 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.007027, allocations: 164.4 kB / 0.5618 GB, free: 9.734 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.007028, allocations: 0 / 0.5618 GB, free: 9.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002491/0.007277, allocations: 246.5 kB / 0.562 GB, free: 9.469 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.007318, allocations: 140.4 kB / 0.5621 GB, free: 9.301 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.007466, allocations: 304.2 kB / 0.5624 GB, free: 8.984 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.007482, allocations: 29.7 kB / 0.5625 GB, free: 8.949 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.007569, allocations: 215 kB / 0.5627 GB, free: 8.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.007596, allocations: 39.67 kB / 0.5627 GB, free: 8.691 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.007644, allocations: 47.34 kB / 0.5627 GB, free: 8.637 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.007757, allocations: 0.5157 MB / 0.5632 GB, free: 8.109 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.007798, allocations: 49.69 kB / 0.5633 GB, free: 8.055 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.788e-05/0.007875, allocations: 175.1 kB / 0.5635 GB, free: 7.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.007967, allocations: 152.4 kB / 0.5636 GB, free: 7.664 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007969, allocations: 4 kB / 0.5636 GB, free: 7.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001925/0.008162, allocations: 232.9 kB / 0.5638 GB, free: 7.414 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.00819, allocations: 53.69 kB / 0.5639 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.008194, allocations: 0 / 0.5639 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.008206, allocations: 4 kB / 0.5639 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.008271, allocations: 19.98 kB / 0.5639 GB, free: 7.332 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.008274, allocations: 0 / 0.5639 GB, free: 7.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.008327, allocations: 19.89 kB / 0.5639 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.008338, allocations: 11.98 kB / 0.5639 GB, free: 7.301 MB / 490.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 9.056e-05/0.008428, allocations: 202.2 kB / 0.5641 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.008455, allocations: 35.8 kB / 0.5642 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.008486, allocations: 29.77 kB / 0.5642 GB, free: 7.023 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.008487, allocations: 0 / 0.5642 GB, free: 7.023 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.008488, allocations: 0 / 0.5642 GB, free: 7.023 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.008492, allocations: 3.984 kB / 0.5642 GB, free: 7.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.008609, allocations: 173.2 kB / 0.5644 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.00861, allocations: 0 / 0.5644 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.008655, allocations: 11.98 kB / 0.5644 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.008657, allocations: 4 kB / 0.5644 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.008666, allocations: 0 / 0.5644 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.008668, allocations: 7.938 kB / 0.5644 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008669, allocations: 4 kB / 0.5644 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.008923, allocations: 333.1 kB / 0.5647 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.008941, allocations: 19.86 kB / 0.5647 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.008965, allocations: 8 kB / 0.5647 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.009004, allocations: 11.94 kB / 0.5647 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.009055, allocations: 31.94 kB / 0.5648 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.009072, allocations: 4 kB / 0.5648 GB, free: 6.355 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.486e-05/0.009146, allocations: 197 kB / 0.565 GB, free: 6.168 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009146, allocations: 4 kB / 0.565 GB, free: 6.164 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001637/0.00931, allocations: 55.88 kB / 0.565 GB, free: 6.109 MB / 490.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.0001231/0.009433, allocations: 143.1 kB / 0.5652 GB, free: 5.957 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.009599, allocations: 214.4 kB / 0.5654 GB, free: 5.719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.0096, allocations: 0 / 0.5654 GB, free: 5.719 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.009675, allocations: 144.7 kB / 0.5655 GB, free: 5.555 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.009849, allocations: 43.44 kB / 0.5655 GB, free: 5.516 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.01026, allocations: 417.8 kB / 0.5659 GB, free: 5.078 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.0103, allocations: 87.81 kB / 0.566 GB, free: 4.973 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.396e-05/0.01034, allocations: 17.48 kB / 0.566 GB, free: 4.957 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.01046, allocations: 122.2 kB / 0.5662 GB, free: 4.836 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01046, allocations: 0 / 0.5662 GB, free: 4.836 MB / 490.7 MB Notification: Performance of Templates: time 0.004573/0.01503, allocations: 3.15 MB / 0.5692 GB, free: 1.738 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4650988671928644]