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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.4 MB, free: 3.027 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 287.3 kB / 304.8 MB, free: 3.641 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 180.9 MB / 0.5281 GB, free: 1.812 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002668/0.002668, allocations: 99.84 kB / 0.7283 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5336, allocations: 94.16 MB / 0.8203 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003706/0.5373, allocations: 1.97 MB / 0.8222 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.5388, allocations: 0.725 MB / 0.8229 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.5389, allocations: 3.719 kB / 0.8229 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.5392, allocations: 81.38 kB / 0.823 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.5393, allocations: 92.98 kB / 0.8231 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.54, allocations: 188.1 kB / 0.8232 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.5403, allocations: 258.4 kB / 0.8235 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.5405, allocations: 57.83 kB / 0.8236 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.5407, allocations: 115.2 kB / 0.8237 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.5409, allocations: 163.4 kB / 0.8238 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.541, allocations: 20.19 kB / 0.8238 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.5411, allocations: 93.38 kB / 0.8239 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.275e-05/0.5412, allocations: 53.67 kB / 0.824 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.5413, allocations: 116.4 kB / 0.8241 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.5418, allocations: 311.5 kB / 0.8244 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5418, allocations: 3.984 kB / 0.8244 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5418, allocations: 3.938 kB / 0.8244 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.5418, allocations: 0 / 0.8244 GB, free: 1.605 MB / 0.5606 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.0009566/0.5428, allocations: 0.5799 MB / 0.825 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.5428, allocations: 9.438 kB / 0.825 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.5429, allocations: 31.69 kB / 0.825 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.5435, allocations: 302.3 kB / 0.8253 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.5435, allocations: 19.31 kB / 0.8253 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.5435, allocations: 18.19 kB / 0.8253 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.5439, allocations: 224.6 kB / 0.8255 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.544, allocations: 1.375 kB / 0.8255 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.544, allocations: 5.375 kB / 0.8255 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.544, allocations: 8.109 kB / 0.8255 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.5443, allocations: 133.9 kB / 0.8257 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.5452, allocations: 0.6775 MB / 0.8263 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.5456, allocations: 162.1 kB / 0.8265 GB, free: 15.79 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.5457, allocations: 90.83 kB / 0.8266 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.5458, allocations: 1.031 kB / 0.8266 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.5461, allocations: 175.1 kB / 0.8267 GB, free: 15.62 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.5461, allocations: 0 / 0.8267 GB, free: 15.62 MB / 0.5763 GB Notification: Performance of matching and sorting (n=15): time 0.0007609/0.5468, allocations: 378.1 kB / 0.8271 GB, free: 15.44 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.5469, allocations: 131.8 kB / 0.8272 GB, free: 15.28 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.5473, allocations: 285.2 kB / 0.8275 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.5473, allocations: 32.45 kB / 0.8275 GB, free: 15.07 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.5475, allocations: 154.1 kB / 0.8277 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.5475, allocations: 45.12 kB / 0.8277 GB, free: 14.89 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-05/0.5476, allocations: 42.14 kB / 0.8278 GB, free: 14.86 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5478, allocations: 341.7 kB / 0.8281 GB, free: 14.52 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.548, allocations: 91.42 kB / 0.8282 GB, free: 14.48 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.5482, allocations: 127.8 kB / 0.8283 GB, free: 14.39 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.5485, allocations: 249.9 kB / 0.8285 GB, free: 14.23 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5485, allocations: 0 / 0.8285 GB, free: 14.23 MB / 0.5763 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000559/0.5491, allocations: 332.6 kB / 0.8289 GB, free: 14.06 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.5491, allocations: 37.31 kB / 0.8289 GB, free: 14.03 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.5491, allocations: 1.281 kB / 0.8289 GB, free: 14.03 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.5491, allocations: 9.375 kB / 0.8289 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.5493, allocations: 33.97 kB / 0.8289 GB, free: 14 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5493, allocations: 1.031 kB / 0.8289 GB, free: 14 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.5494, allocations: 27.88 kB / 0.829 GB, free: 13.99 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.5495, allocations: 9.25 kB / 0.829 GB, free: 13.98 MB / 0.5763 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 0.0002167/0.5497, allocations: 196.4 kB / 0.8292 GB, free: 13.81 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.5497, allocations: 28.89 kB / 0.8292 GB, free: 13.79 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.237e-05/0.5498, allocations: 26.98 kB / 0.8292 GB, free: 13.78 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5498, allocations: 1.406 kB / 0.8292 GB, free: 13.78 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5498, allocations: 3.938 kB / 0.8292 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5498, allocations: 1.406 kB / 0.8292 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.5501, allocations: 297.6 kB / 0.8295 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5501, allocations: 0 / 0.8295 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.5502, allocations: 20.48 kB / 0.8295 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5502, allocations: 0 / 0.8295 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5502, allocations: 2.969 kB / 0.8295 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.5502, allocations: 1.25 kB / 0.8295 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5502, allocations: 4 kB / 0.8295 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.551, allocations: 475.9 kB / 0.83 GB, free: 13.22 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.5511, allocations: 103.5 kB / 0.8301 GB, free: 13.11 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.5511, allocations: 8.438 kB / 0.8301 GB, free: 13.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.5512, allocations: 11.39 kB / 0.8301 GB, free: 13.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/0.5513, allocations: 26.09 kB / 0.8301 GB, free: 13.08 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.5513, allocations: 9.391 kB / 0.8301 GB, free: 13.08 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0002206/0.5516, allocations: 201.5 kB / 0.8303 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5516, allocations: 0 / 0.8303 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003546/0.5519, allocations: 58.89 kB / 0.8304 GB, free: 12.94 MB / 0.5763 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.0002542/0.5522, allocations: 136.1 kB / 0.8305 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0005608/0.5527, allocations: 262.7 kB / 0.8308 GB, free: 12.69 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5527, allocations: 0 / 0.8308 GB, free: 12.69 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.553, allocations: 155.4 kB / 0.8309 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.5533, allocations: 38.42 kB / 0.8309 GB, free: 12.57 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.5545, allocations: 486.4 kB / 0.8314 GB, free: 12.26 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.5549, allocations: 0.7565 MB / 0.8322 GB, free: 11.52 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 8.931e-05/0.555, allocations: 14.73 kB / 0.8322 GB, free: 11.52 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.555, allocations: 17.06 kB / 0.8322 GB, free: 11.51 MB / 0.5763 GB Notification: Performance of SimCode: time 1.012e-06/0.555, allocations: 4 kB / 0.8322 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of Templates: time 0.007579/0.5626, allocations: 2.889 MB / 0.835 GB, free: 10.08 MB / 0.5763 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.316546960733831]