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.001024/0.001024, allocations: 89.06 kB / 19.64 MB, free: 272 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.00118/0.00118, allocations: 173 kB / 23.02 MB, free: 1.539 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.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001698/0.001698, allocations: 233.3 kB / 260.2 MB, free: 12.82 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.7175/0.7175, allocations: 138.4 MB / 455.2 MB, free: 1.516 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 2.054e-06/2.054e-06, allocations: 0 / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.522e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002982/0.003017, allocations: 1.986 MB / 0.557 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.004093, allocations: 0.7244 MB / 0.5577 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.0042, allocations: 0 / 0.5577 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.00443, allocations: 83.62 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.004532, allocations: 103.4 kB / 0.5579 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.005042, allocations: 183.6 kB / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.005358, allocations: 259.4 kB / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.005497, allocations: 54.14 kB / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.005671, allocations: 155.6 kB / 0.5585 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.005849, allocations: 143.7 kB / 0.5587 GB, free: 12.81 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.005882, allocations: 20 kB / 0.5587 GB, free: 12.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.006013, allocations: 79.94 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.006091, allocations: 55.83 kB / 0.5588 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.006166, allocations: 59.77 kB / 0.5589 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.006476, allocations: 239.1 kB / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.006479, allocations: 0 / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006481, allocations: 0 / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.006486, allocations: 0 / 0.5591 GB, free: 12.37 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.0006176/0.007104, allocations: 0.5907 MB / 0.5597 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.007147, allocations: 8.75 kB / 0.5597 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.007219, allocations: 44.75 kB / 0.5597 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.007448, allocations: 227.5 kB / 0.56 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.007469, allocations: 12.38 kB / 0.56 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.007497, allocations: 12.38 kB / 0.56 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.007777, allocations: 275.6 kB / 0.5602 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.007784, allocations: 4.188 kB / 0.5603 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.0078, allocations: 4.375 kB / 0.5603 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.007808, allocations: 7.938 kB / 0.5603 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.007909, allocations: 90.06 kB / 0.5604 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006158/0.008525, allocations: 0.7166 MB / 0.561 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.008679, allocations: 112.7 kB / 0.5612 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.008742, allocations: 69.52 kB / 0.5612 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.008753, allocations: 8 kB / 0.5612 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.008894, allocations: 156.3 kB / 0.5614 GB, free: 9.828 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.008895, allocations: 0 / 0.5614 GB, free: 9.828 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003303/0.009225, allocations: 270 kB / 0.5616 GB, free: 9.543 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.009282, allocations: 144.4 kB / 0.5618 GB, free: 9.371 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.009468, allocations: 300.3 kB / 0.5621 GB, free: 9.059 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.009489, allocations: 33.7 kB / 0.5621 GB, free: 9.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.00959, allocations: 211 kB / 0.5623 GB, free: 8.805 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.009619, allocations: 39.69 kB / 0.5623 GB, free: 8.766 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.009672, allocations: 47.36 kB / 0.5624 GB, free: 8.711 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.009803, allocations: 0.5118 MB / 0.5629 GB, free: 8.188 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.009865, allocations: 57.69 kB / 0.5629 GB, free: 8.125 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.948e-05/0.009964, allocations: 179.1 kB / 0.5631 GB, free: 7.906 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.01009, allocations: 160.8 kB / 0.5633 GB, free: 7.723 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01009, allocations: 0 / 0.5633 GB, free: 7.723 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002296/0.01032, allocations: 245 kB / 0.5635 GB, free: 7.465 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.01035, allocations: 45.69 kB / 0.5635 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01036, allocations: 0 / 0.5635 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.01037, allocations: 4 kB / 0.5635 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.01045, allocations: 23.92 kB / 0.5636 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01046, allocations: 0 / 0.5636 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.01052, allocations: 27.88 kB / 0.5636 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.01053, allocations: 4 kB / 0.5636 GB, free: 7.355 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.0001051/0.01064, allocations: 202.3 kB / 0.5638 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.01066, allocations: 35.8 kB / 0.5638 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.0107, allocations: 33.7 kB / 0.5639 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.0107, allocations: 0 / 0.5639 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.0107, allocations: 0 / 0.5639 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.0107, allocations: 3.984 kB / 0.5639 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.01085, allocations: 220.5 kB / 0.5641 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01085, allocations: 0 / 0.5641 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.01091, allocations: 15.98 kB / 0.5641 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.01091, allocations: 3.938 kB / 0.5641 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.01093, allocations: 4 kB / 0.5641 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.01093, allocations: 4 kB / 0.5641 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01093, allocations: 3.938 kB / 0.5641 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.01125, allocations: 345.2 kB / 0.5644 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.01127, allocations: 23.86 kB / 0.5644 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.01129, allocations: 7.938 kB / 0.5645 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.01134, allocations: 15.98 kB / 0.5645 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.0114, allocations: 23.95 kB / 0.5645 GB, free: 6.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.01141, allocations: 4 kB / 0.5645 GB, free: 6.336 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002659/0.01168, allocations: 205.1 kB / 0.5647 GB, free: 6.141 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01168, allocations: 0 / 0.5647 GB, free: 6.141 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.01187, allocations: 63.91 kB / 0.5648 GB, free: 6.078 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.0001529/0.01202, allocations: 135 kB / 0.5649 GB, free: 5.938 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.01224, allocations: 234.3 kB / 0.5651 GB, free: 5.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01224, allocations: 0 / 0.5651 GB, free: 5.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.262e-05/0.01234, allocations: 144.8 kB / 0.5652 GB, free: 5.516 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.01253, allocations: 39.23 kB / 0.5653 GB, free: 5.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.01302, allocations: 423.7 kB / 0.5657 GB, free: 5.035 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.675e-05/0.01307, allocations: 83.81 kB / 0.5658 GB, free: 4.934 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.726e-05/0.01312, allocations: 17.48 kB / 0.5658 GB, free: 4.918 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.01315, allocations: 16.5 kB / 0.5658 GB, free: 4.902 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01316, allocations: 0 / 0.5658 GB, free: 4.902 MB / 490.7 MB Notification: Performance of Templates: time 0.004713/0.01787, allocations: 3.084 MB / 0.5688 GB, free: 1.859 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.614781422074884]