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.0006352/0.0006352, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000797/0.001432, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007941/0.0007941, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008691/0.001663, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08572/1.09, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.001438/0.001438, allocations: 227.4 kB / 244.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.002629, allocations: 467.5 kB / 244.7 MB, free: 14.19 MB / 250.7 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 0.701/0.701, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07336/0.7743, allocations: 42.39 MB / 426.5 MB, free: 5.961 MB / 410.7 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.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.302e-06/1.302e-06, allocations: 3.938 kB / 427.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.546e-06/9.848e-06, allocations: 2.312 kB / 427.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002061/0.00207, allocations: 2.013 MB / 429.8 MB, free: 2.621 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008269/0.002897, allocations: 0.7398 MB / 430.5 MB, free: 1.875 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.002989, allocations: 8 kB / 430.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.003376, allocations: 83.58 kB / 430.6 MB, free: 1.785 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.003476, allocations: 103.5 kB / 430.7 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.003804, allocations: 175.5 kB / 430.9 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.00404, allocations: 255.4 kB / 431.1 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.004149, allocations: 54.75 kB / 431.2 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.004319, allocations: 183.6 kB / 431.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.004456, allocations: 111.7 kB / 431.5 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.004481, allocations: 20 kB / 431.5 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.004607, allocations: 95.92 kB / 431.6 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.004655, allocations: 47.86 kB / 431.6 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.004709, allocations: 51.81 kB / 431.7 MB, free: 0.707 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.004927, allocations: 203.3 kB / 431.9 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.004939, allocations: 3.938 kB / 431.9 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.00494, allocations: 0 / 431.9 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.004952, allocations: 0 / 431.9 MB, free: 0.5039 MB / 410.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.1923/0.1972, allocations: 0.4998 MB / 432.4 MB, free: 2.691 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1973, allocations: 10.22 kB / 432.4 MB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.1973, allocations: 31.17 kB / 432.4 MB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.1976, allocations: 203.4 kB / 432.6 MB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.1976, allocations: 11.69 kB / 432.6 MB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.1976, allocations: 19.8 kB / 432.7 MB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.1979, allocations: 254 kB / 432.9 MB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1979, allocations: 4.75 kB / 432.9 MB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1979, allocations: 8.938 kB / 432.9 MB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1979, allocations: 6.25 kB / 432.9 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.198, allocations: 75.61 kB / 433 MB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.1984, allocations: 456.5 kB / 433.5 MB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.1986, allocations: 138.8 kB / 433.6 MB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.1986, allocations: 63.17 kB / 433.7 MB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.1986, allocations: 7.078 kB / 433.7 MB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.1988, allocations: 158.4 kB / 433.8 MB, free: 1.746 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/0.1988, allocations: 0 / 433.8 MB, free: 1.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001998/0.199, allocations: 208.6 kB / 434 MB, free: 1.621 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.199, allocations: 89.31 kB / 434.1 MB, free: 1.523 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1991, allocations: 228.1 kB / 434.3 MB, free: 1.414 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1991, allocations: 35.02 kB / 434.4 MB, free: 1.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.1992, allocations: 131.3 kB / 434.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1992, allocations: 49.75 kB / 434.5 MB, free: 1.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.1993, allocations: 41.3 kB / 434.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.1993, allocations: 340.9 kB / 434.9 MB, free: 16.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.1994, allocations: 53.7 kB / 435 MB, free: 16.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/0.1995, allocations: 153.1 kB / 435.1 MB, free: 16.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.479e-05/0.1996, allocations: 149.7 kB / 435.3 MB, free: 16.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1996, allocations: 0.6562 kB / 435.3 MB, free: 16.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001509/0.1997, allocations: 187.9 kB / 435.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.1997, allocations: 39.41 kB / 435.5 MB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1997, allocations: 6.188 kB / 435.5 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.1998, allocations: 0.5625 kB / 435.5 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.1998, allocations: 26.33 kB / 435.5 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.1998, allocations: 2.156 kB / 435.5 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.1999, allocations: 21.69 kB / 435.5 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1999, allocations: 6.109 kB / 435.5 MB, free: 16.53 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.192e-05/0.2, allocations: 161.2 kB / 435.7 MB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.2, allocations: 22.97 kB / 435.7 MB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.2001, allocations: 27.8 kB / 435.8 MB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2001, allocations: 2.625 kB / 435.8 MB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.2001, allocations: 1.484 kB / 435.8 MB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2001, allocations: 4.016 kB / 435.8 MB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.2002, allocations: 128.7 kB / 435.9 MB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2002, allocations: 2.922 kB / 435.9 MB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.2003, allocations: 18.41 kB / 435.9 MB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.2003, allocations: 25.73 kB / 435.9 MB, free: 16.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2003, allocations: 0.875 kB / 435.9 MB, free: 16.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2003, allocations: 8.594 kB / 435.9 MB, free: 16.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2003, allocations: 4.781 kB / 435.9 MB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2003, allocations: 1.438 kB / 435.9 MB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.2005, allocations: 270 kB / 436.2 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.2006, allocations: 13.06 kB / 436.2 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.2006, allocations: 12.98 kB / 436.2 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.2007, allocations: 30.44 kB / 436.3 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.2007, allocations: 6.172 kB / 436.3 MB, free: 16.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.661e-05/0.2007, allocations: 75.81 kB / 436.3 MB, free: 16.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2007, allocations: 0 / 436.3 MB, free: 16.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.2009, allocations: 62.05 kB / 436.4 MB, free: 16.09 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.000139/0.201, allocations: 117.8 kB / 436.5 MB, free: 16.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.2012, allocations: 222.7 kB / 436.7 MB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.2012, allocations: 7.594 kB / 436.7 MB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.784e-05/0.2013, allocations: 133 kB / 436.9 MB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.2015, allocations: 49.64 kB / 436.9 MB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.2021, allocations: 423.4 kB / 437.3 MB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.775e-05/0.2021, allocations: 83.69 kB / 437.4 MB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.561e-05/0.2022, allocations: 21.11 kB / 437.4 MB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.2023, allocations: 95.69 kB / 437.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2023, allocations: 0.9062 kB / 437.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of Templates: time 0.0059/0.2082, allocations: 3.23 MB / 440.8 MB, free: 15.31 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.299746216274798]