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.001161/0.001161, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.002011/0.002011, allocations: 165 kB / 23.02 MB, free: 1.551 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.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.001667/0.001667, allocations: 226 kB / 260.2 MB, free: 12.84 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.7235/0.7235, allocations: 138.4 MB / 455.2 MB, free: 1.531 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.193e-06/1.193e-06, allocations: 0 / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.676e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002276/0.002292, allocations: 1.982 MB / 0.557 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009535/0.003246, allocations: 0.7205 MB / 0.5577 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.249e-05/0.003338, allocations: 8 kB / 0.5577 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.003556, allocations: 79.62 kB / 0.5578 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.003655, allocations: 99.5 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.004114, allocations: 191.5 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.004351, allocations: 259.4 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.004474, allocations: 50.16 kB / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.00462, allocations: 151.7 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.004772, allocations: 139.7 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.004802, allocations: 20 kB / 0.5587 GB, free: 12.82 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.004918, allocations: 83.94 kB / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.004983, allocations: 63.77 kB / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.424e-05/0.005047, allocations: 67.77 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.005311, allocations: 243.1 kB / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005313, allocations: 0 / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005314, allocations: 0 / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005319, allocations: 0 / 0.5591 GB, free: 12.38 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.000625/0.005944, allocations: 0.6024 MB / 0.5597 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.005982, allocations: 8.75 kB / 0.5597 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.006047, allocations: 44.75 kB / 0.5598 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.006337, allocations: 243.7 kB / 0.56 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.006361, allocations: 20.31 kB / 0.56 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.006394, allocations: 12.38 kB / 0.56 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.006664, allocations: 275.6 kB / 0.5603 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.006673, allocations: 192 / 0.5603 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.006689, allocations: 8.125 kB / 0.5603 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.006698, allocations: 4 kB / 0.5603 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.006806, allocations: 90.12 kB / 0.5604 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.007396, allocations: 0.7166 MB / 0.5611 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.007541, allocations: 104.8 kB / 0.5612 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/0.007606, allocations: 77.53 kB / 0.5613 GB, free: 9.992 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.007616, allocations: 0 / 0.5613 GB, free: 9.992 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.007763, allocations: 160.3 kB / 0.5614 GB, free: 9.809 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.007765, allocations: 4 kB / 0.5614 GB, free: 9.805 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003249/0.008089, allocations: 270 kB / 0.5617 GB, free: 9.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.00814, allocations: 136.5 kB / 0.5618 GB, free: 9.355 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.00832, allocations: 300.3 kB / 0.5621 GB, free: 9.043 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.008338, allocations: 29.7 kB / 0.5621 GB, free: 9.008 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.788e-05/0.008436, allocations: 223 kB / 0.5623 GB, free: 8.781 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.008464, allocations: 35.7 kB / 0.5624 GB, free: 8.746 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.008518, allocations: 47.36 kB / 0.5624 GB, free: 8.691 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.00864, allocations: 0.5079 MB / 0.5629 GB, free: 8.172 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/0.008706, allocations: 69.67 kB / 0.563 GB, free: 8.098 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.008806, allocations: 175.2 kB / 0.5631 GB, free: 7.883 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.008926, allocations: 160.4 kB / 0.5633 GB, free: 7.699 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008928, allocations: 0 / 0.5633 GB, free: 7.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002309/0.009159, allocations: 252.7 kB / 0.5635 GB, free: 7.434 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.009187, allocations: 44.75 kB / 0.5636 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.009191, allocations: 0 / 0.5636 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.009205, allocations: 4.125 kB / 0.5636 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.009288, allocations: 20 kB / 0.5636 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.009293, allocations: 0 / 0.5636 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.009352, allocations: 23.88 kB / 0.5636 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.009364, allocations: 8 kB / 0.5636 GB, free: 7.332 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 0.0001055/0.009469, allocations: 206.2 kB / 0.5638 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.009499, allocations: 31.8 kB / 0.5639 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.009532, allocations: 29.77 kB / 0.5639 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.009534, allocations: 4 kB / 0.5639 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.009537, allocations: 0 / 0.5639 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.00954, allocations: 0 / 0.5639 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.009691, allocations: 216.7 kB / 0.5641 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009692, allocations: 0 / 0.5641 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-05/0.009752, allocations: 11.94 kB / 0.5641 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.009754, allocations: 7.938 kB / 0.5641 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.009769, allocations: 7.984 kB / 0.5641 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.00977, allocations: 4 kB / 0.5641 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.009771, allocations: 0 / 0.5641 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.01011, allocations: 341.2 kB / 0.5645 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.01014, allocations: 31.78 kB / 0.5645 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.01017, allocations: 8 kB / 0.5645 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-05/0.01021, allocations: 11.98 kB / 0.5645 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.01029, allocations: 31.89 kB / 0.5645 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.01031, allocations: 4 kB / 0.5645 GB, free: 6.312 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.01041, allocations: 205.1 kB / 0.5647 GB, free: 6.117 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01041, allocations: 0 / 0.5647 GB, free: 6.117 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.0106, allocations: 59.88 kB / 0.5648 GB, free: 6.059 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.0001712/0.01077, allocations: 135.2 kB / 0.5649 GB, free: 5.914 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.01102, allocations: 234.1 kB / 0.5651 GB, free: 5.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01102, allocations: 0 / 0.5651 GB, free: 5.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.01112, allocations: 148.7 kB / 0.5653 GB, free: 5.492 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.01134, allocations: 36.86 kB / 0.5653 GB, free: 5.457 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.01189, allocations: 423.5 kB / 0.5657 GB, free: 5.012 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.496e-05/0.01195, allocations: 87.81 kB / 0.5658 GB, free: 4.906 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.896e-05/0.012, allocations: 17.48 kB / 0.5658 GB, free: 4.891 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.01204, allocations: 20.48 kB / 0.5658 GB, free: 4.871 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/0.01204, allocations: 0 / 0.5658 GB, free: 4.871 MB / 490.7 MB Notification: Performance of Templates: time 0.005105/0.01715, allocations: 2.919 MB / 0.5687 GB, free: 2 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.802853275090456]