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.0009931/0.0009931, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001036/0.001036, allocations: 181 kB / 23.36 MB, free: 1.133 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.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.002035/0.002035, allocations: 249.9 kB / 260.5 MB, free: 12.69 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.7415/0.7415, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.502e-06/1.502e-06, allocations: 0 / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.979e-05, allocations: 4.469 kB / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002692/0.002712, allocations: 2.016 MB / 464.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.003989, allocations: 0.7325 MB / 465.1 MB, free: 15.13 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.004108, allocations: 6.531 kB / 465.1 MB, free: 15.13 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.004324, allocations: 83.11 kB / 465.2 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.00445, allocations: 94.47 kB / 465.3 MB, free: 15.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.004947, allocations: 178.7 kB / 465.4 MB, free: 14.99 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.005275, allocations: 262.7 kB / 465.7 MB, free: 14.87 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.005396, allocations: 50.11 kB / 465.7 MB, free: 14.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.005594, allocations: 155.4 kB / 465.9 MB, free: 14.78 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.005769, allocations: 119.3 kB / 466 MB, free: 14.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.005797, allocations: 20.94 kB / 466 MB, free: 14.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.005961, allocations: 103.2 kB / 466.1 MB, free: 14.73 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7e-05/0.006031, allocations: 53.52 kB / 466.2 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.006094, allocations: 62.73 kB / 466.3 MB, free: 14.66 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.006365, allocations: 233.2 kB / 466.5 MB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.006367, allocations: 0 / 466.5 MB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006368, allocations: 0 / 466.5 MB, free: 14.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.006372, allocations: 1.25 kB / 466.5 MB, free: 14.5 MB / 426.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.0004661/0.006838, allocations: 479.6 kB / 466.9 MB, free: 14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.006869, allocations: 14.27 kB / 467 MB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.006914, allocations: 30.7 kB / 467 MB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.007134, allocations: 201.3 kB / 467.2 MB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.007156, allocations: 17.84 kB / 467.2 MB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.007184, allocations: 16.38 kB / 467.2 MB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.007428, allocations: 257.7 kB / 467.5 MB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.007435, allocations: 192 / 467.5 MB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.007447, allocations: 6.125 kB / 467.5 MB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.007453, allocations: 7.938 kB / 467.5 MB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.245e-05/0.007525, allocations: 75.19 kB / 467.6 MB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.007975, allocations: 459.7 kB / 468 MB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.008092, allocations: 137.9 kB / 468.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.008137, allocations: 62.53 kB / 468.2 MB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.008147, allocations: 5.344 kB / 468.2 MB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.008268, allocations: 148.6 kB / 468.4 MB, free: 12.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.008269, allocations: 0 / 468.4 MB, free: 12.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001852/0.008454, allocations: 207.5 kB / 468.6 MB, free: 12.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.008561, allocations: 136.5 kB / 468.7 MB, free: 12.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.008686, allocations: 230.2 kB / 468.9 MB, free: 11.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.008705, allocations: 37.69 kB / 469 MB, free: 11.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.008759, allocations: 128.9 kB / 469.1 MB, free: 11.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.008785, allocations: 52.23 kB / 469.1 MB, free: 11.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.008829, allocations: 33.69 kB / 469.2 MB, free: 11.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.887e-05/0.008908, allocations: 339.3 kB / 469.5 MB, free: 11.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.00895, allocations: 56.06 kB / 469.6 MB, free: 11.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.401e-05/0.009024, allocations: 150.2 kB / 469.7 MB, free: 11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.774e-05/0.009121, allocations: 145 kB / 469.8 MB, free: 10.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.009123, allocations: 4 kB / 469.8 MB, free: 10.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001464/0.00927, allocations: 188.5 kB / 470 MB, free: 10.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.009298, allocations: 38.27 kB / 470.1 MB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.009303, allocations: 1.031 kB / 470.1 MB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.009317, allocations: 0.5 kB / 470.1 MB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.009395, allocations: 27.98 kB / 470.1 MB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.009398, allocations: 1.062 kB / 470.1 MB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.92e-05/0.009457, allocations: 23.88 kB / 470.1 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.009469, allocations: 6.375 kB / 470.1 MB, free: 10.54 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 9.15e-05/0.00956, allocations: 165.6 kB / 470.3 MB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.009581, allocations: 15.98 kB / 470.3 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.009615, allocations: 34.3 kB / 470.3 MB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.009616, allocations: 0 / 470.3 MB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.009618, allocations: 1.094 kB / 470.3 MB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.009621, allocations: 0 / 470.3 MB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.009857, allocations: 133.7 kB / 470.5 MB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.009861, allocations: 5.641 kB / 470.5 MB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.009913, allocations: 12 kB / 470.5 MB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.009916, allocations: 0 / 470.5 MB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.009927, allocations: 4 kB / 470.5 MB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.009929, allocations: 6.922 kB / 470.5 MB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.009931, allocations: 11.88 kB / 470.5 MB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.01014, allocations: 258.2 kB / 470.8 MB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.01016, allocations: 27.78 kB / 470.8 MB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.01018, allocations: 5.188 kB / 470.8 MB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.01022, allocations: 8 kB / 470.8 MB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.01027, allocations: 27.89 kB / 470.8 MB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.01029, allocations: 17.03 kB / 470.8 MB, free: 9.758 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.01034, allocations: 70.78 kB / 470.9 MB, free: 9.688 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01034, allocations: 0.6562 kB / 470.9 MB, free: 9.688 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.01051, allocations: 59.89 kB / 471 MB, free: 9.629 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.0001292/0.01064, allocations: 128.2 kB / 471.1 MB, free: 9.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.01082, allocations: 208.3 kB / 471.3 MB, free: 9.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.01082, allocations: 5.438 kB / 471.3 MB, free: 9.266 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.867e-05/0.0109, allocations: 134.6 kB / 471.4 MB, free: 9.113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.01104, allocations: 38.97 kB / 471.5 MB, free: 9.078 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.01148, allocations: 413.8 kB / 471.9 MB, free: 8.645 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.397e-05/0.01153, allocations: 80.41 kB / 472 MB, free: 8.547 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.997e-05/0.01158, allocations: 22.28 kB / 472 MB, free: 8.531 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.01169, allocations: 91.36 kB / 472.1 MB, free: 8.441 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01169, allocations: 0 / 472.1 MB, free: 8.441 MB / 426.7 MB Notification: Performance of Templates: time 0.005274/0.01697, allocations: 3.142 MB / 475.2 MB, free: 5.57 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4760932959616184]