Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001145/0.001145, allocations: 81.86 kB / 20.68 MB, free: 3.809 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.001265/0.001265, allocations: 177 kB / 24.09 MB, free: 412 kB / 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 0.9455/0.9455, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.6296/0.6296, allocations: 110.3 MB / 371.3 MB, free: 12.33 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 475.6 MB, free: 15.06 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.434e-05, allocations: 3.406 kB / 475.6 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.001841/0.001856, allocations: 1.971 MB / 477.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.002623, allocations: 0.7238 MB / 478.3 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.002702, allocations: 2.625 kB / 478.3 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.002846, allocations: 86.36 kB / 478.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.002923, allocations: 90.34 kB / 478.5 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.003228, allocations: 182.8 kB / 478.7 MB, free: 13.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.003404, allocations: 271.7 kB / 478.9 MB, free: 13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.003497, allocations: 40.83 kB / 479 MB, free: 12.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.003614, allocations: 163.4 kB / 479.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.003733, allocations: 132.7 kB / 479.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.003756, allocations: 20.34 kB / 479.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.372e-05/0.00384, allocations: 83.86 kB / 479.4 MB, free: 12.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.003886, allocations: 55.58 kB / 479.4 MB, free: 12.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.003929, allocations: 63.98 kB / 479.5 MB, free: 12.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.004113, allocations: 227 kB / 479.7 MB, free: 12.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004114, allocations: 0 / 479.7 MB, free: 12.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004115, allocations: 0.7812 kB / 479.7 MB, free: 12.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.004119, allocations: 0 / 479.7 MB, free: 12.7 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.0004306/0.00455, allocations: 0.5971 MB / 480.3 MB, free: 12.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.004581, allocations: 8.406 kB / 480.3 MB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.004627, allocations: 44.5 kB / 480.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.004788, allocations: 239 kB / 480.6 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.004806, allocations: 10.75 kB / 480.6 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.004827, allocations: 15.59 kB / 480.6 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.005006, allocations: 264.8 kB / 480.9 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.005013, allocations: 3.625 kB / 480.9 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.005025, allocations: 7.844 kB / 480.9 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.00503, allocations: 7.719 kB / 480.9 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.00509, allocations: 75.02 kB / 481 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.005635, allocations: 0.6742 MB / 481.6 MB, free: 27.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.005737, allocations: 107.8 kB / 481.7 MB, free: 27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.005777, allocations: 66.97 kB / 481.8 MB, free: 26.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.005786, allocations: 2.562 kB / 481.8 MB, free: 26.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.773e-05/0.005884, allocations: 146.8 kB / 481.9 MB, free: 26.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.005885, allocations: 0 / 481.9 MB, free: 26.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002214/0.006107, allocations: 263.5 kB / 482.2 MB, free: 26.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.006132, allocations: 135 kB / 482.3 MB, free: 26.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.006269, allocations: 299.9 kB / 482.6 MB, free: 26.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.006282, allocations: 32.73 kB / 482.7 MB, free: 26.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.006367, allocations: 213.5 kB / 482.9 MB, free: 26.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.006388, allocations: 40.28 kB / 482.9 MB, free: 26.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.006437, allocations: 51.34 kB / 483 MB, free: 25.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.006559, allocations: 0.5066 MB / 483.5 MB, free: 25.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.006598, allocations: 57.48 kB / 483.5 MB, free: 25.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.229e-05/0.00666, allocations: 171.6 kB / 483.7 MB, free: 25.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.006746, allocations: 162.7 kB / 483.9 MB, free: 25.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.006749, allocations: 0.6562 kB / 483.9 MB, free: 25.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001891/0.006938, allocations: 237.9 kB / 484.1 MB, free: 25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.006964, allocations: 43.34 kB / 484.1 MB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.006969, allocations: 0 / 484.1 MB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.006978, allocations: 3.125 kB / 484.1 MB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.007046, allocations: 30.41 kB / 484.2 MB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.007049, allocations: 0 / 484.2 MB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.007099, allocations: 16.42 kB / 484.2 MB, free: 24.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.007109, allocations: 9.922 kB / 484.2 MB, free: 24.95 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.801e-05/0.007207, allocations: 202.3 kB / 484.4 MB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.007233, allocations: 38.16 kB / 484.4 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.007266, allocations: 26.84 kB / 484.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.007269, allocations: 7.812 kB / 484.5 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.007271, allocations: 0 / 484.5 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.007274, allocations: 3.984 kB / 484.5 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.007392, allocations: 171 kB / 484.6 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.007393, allocations: 1.781 kB / 484.6 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.007442, allocations: 13.97 kB / 484.6 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.007444, allocations: 2.625 kB / 484.6 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.007455, allocations: 9.062 kB / 484.7 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.007458, allocations: 7.656 kB / 484.7 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.007458, allocations: 0 / 484.7 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.007722, allocations: 316.7 kB / 485 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.007739, allocations: 29.75 kB / 485 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.007761, allocations: 4.312 kB / 485 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.007802, allocations: 17.83 kB / 485 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.007849, allocations: 26.55 kB / 485 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.007861, allocations: 7.469 kB / 485.1 MB, free: 24.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.341e-05/0.007944, allocations: 197 kB / 485.2 MB, free: 24.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007944, allocations: 0 / 485.2 MB, free: 24.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.008123, allocations: 61.2 kB / 485.3 MB, free: 24.14 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.0001233/0.008246, allocations: 138.2 kB / 485.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.00842, allocations: 216.3 kB / 485.6 MB, free: 23.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.008422, allocations: 7.281 kB / 485.7 MB, free: 23.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.008503, allocations: 140.4 kB / 485.8 MB, free: 23.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.008682, allocations: 36.25 kB / 485.8 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.009093, allocations: 413.9 kB / 486.2 MB, free: 23.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.148e-05/0.009134, allocations: 91.84 kB / 486.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.702e-05/0.009181, allocations: 16.48 kB / 486.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.009304, allocations: 120.5 kB / 486.5 MB, free: 23.34 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009304, allocations: 0 / 486.5 MB, free: 23.34 MB / 426.7 MB Notification: Performance of Templates: time 0.004748/0.01405, allocations: 3.148 MB / 489.6 MB, free: 23.07 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.355611100792885]