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.001036/0.001036, allocations: 92.22 kB / 20.45 MB, free: 4.113 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.00131/0.00131, allocations: 157 kB / 23.82 MB, free: 0.75 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 0.9595/0.9595, allocations: 177.2 MB / 204.2 MB, free: 5.598 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.5578/0.5578, allocations: 110.2 MB / 371 MB, free: 12.5 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 2.224e-06/2.224e-06, allocations: 0 / 475.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.314e-05, allocations: 8.922 kB / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003624/0.003657, allocations: 1.982 MB / 477.2 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.005085, allocations: 0.7288 MB / 477.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.00524, allocations: 6.562 kB / 477.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.005519, allocations: 80.06 kB / 478 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.005667, allocations: 98.77 kB / 478.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.006315, allocations: 185.4 kB / 478.3 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.006679, allocations: 263.9 kB / 478.5 MB, free: 13.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.006848, allocations: 47.22 kB / 478.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.007071, allocations: 152.7 kB / 478.7 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.007283, allocations: 137.1 kB / 478.8 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.007322, allocations: 18.84 kB / 478.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.007482, allocations: 88.55 kB / 479 MB, free: 13.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.007564, allocations: 56.95 kB / 479 MB, free: 12.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.075e-05/0.007645, allocations: 63.98 kB / 479.1 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.008012, allocations: 228.3 kB / 479.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.008016, allocations: 0 / 479.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.008017, allocations: 0 / 479.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.008026, allocations: 2.406 kB / 479.3 MB, free: 12.85 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.0007652/0.008791, allocations: 0.5925 MB / 479.9 MB, free: 12.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.008838, allocations: 11.22 kB / 479.9 MB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.008939, allocations: 41.81 kB / 479.9 MB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.009252, allocations: 232.4 kB / 480.2 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.009287, allocations: 15.5 kB / 480.2 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.009325, allocations: 17.88 kB / 480.2 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.00969, allocations: 273 kB / 480.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.009701, allocations: 192 / 480.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.009722, allocations: 7.156 kB / 480.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.009733, allocations: 6.625 kB / 480.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.009883, allocations: 84.19 kB / 480.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.0109, allocations: 0.721 MB / 481.3 MB, free: 27.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.01109, allocations: 106.4 kB / 481.4 MB, free: 27.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.01117, allocations: 79.06 kB / 481.5 MB, free: 27.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.01118, allocations: 0 / 481.5 MB, free: 27.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.01136, allocations: 153.7 kB / 481.6 MB, free: 26.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.835e-06/0.01137, allocations: 3.984 kB / 481.6 MB, free: 26.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004243/0.01179, allocations: 281.9 kB / 481.9 MB, free: 26.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.01183, allocations: 131.5 kB / 482 MB, free: 26.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.01207, allocations: 306.4 kB / 482.3 MB, free: 26.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.01209, allocations: 28.39 kB / 482.3 MB, free: 26.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.01221, allocations: 214.5 kB / 482.6 MB, free: 26.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.01224, allocations: 40.81 kB / 482.6 MB, free: 26.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.01231, allocations: 43.41 kB / 482.6 MB, free: 26.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.01248, allocations: 0.5116 MB / 483.2 MB, free: 25.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.01256, allocations: 59.72 kB / 483.2 MB, free: 25.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.0127, allocations: 174.9 kB / 483.4 MB, free: 25.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.01286, allocations: 153.9 kB / 483.5 MB, free: 25.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.01286, allocations: 1.438 kB / 483.5 MB, free: 25.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003486/0.01321, allocations: 251.8 kB / 483.8 MB, free: 25.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.01326, allocations: 40.2 kB / 483.8 MB, free: 25.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.01326, allocations: 2.531 kB / 483.8 MB, free: 25.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.01328, allocations: 1.969 kB / 483.8 MB, free: 25.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.0134, allocations: 19.78 kB / 483.8 MB, free: 25.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.01341, allocations: 4.781 kB / 483.8 MB, free: 25.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/0.01351, allocations: 18.03 kB / 483.9 MB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.01353, allocations: 16.09 kB / 483.9 MB, free: 25.05 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 0.0001546/0.01368, allocations: 206 kB / 484.1 MB, free: 24.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.01373, allocations: 40 kB / 484.1 MB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.01378, allocations: 23.77 kB / 484.1 MB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.01378, allocations: 1.406 kB / 484.1 MB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01378, allocations: 1.812 kB / 484.1 MB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01379, allocations: 3.469 kB / 484.1 MB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.01399, allocations: 220.5 kB / 484.4 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01399, allocations: 1.531 kB / 484.4 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.01409, allocations: 17.78 kB / 484.4 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01409, allocations: 6.344 kB / 484.4 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.01411, allocations: 6.25 kB / 484.4 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01411, allocations: 1.094 kB / 484.4 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01411, allocations: 0 / 484.4 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.01459, allocations: 337.6 kB / 484.7 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.01462, allocations: 22.3 kB / 484.7 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.01465, allocations: 13.84 kB / 484.8 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.01471, allocations: 8.219 kB / 484.8 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.01478, allocations: 33.16 kB / 484.8 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.0148, allocations: 6.5 kB / 484.8 MB, free: 24.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.01491, allocations: 204.7 kB / 485 MB, free: 24.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01491, allocations: 0 / 485 MB, free: 24.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000203/0.01512, allocations: 58.33 kB / 485.1 MB, free: 24.2 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.0001924/0.01531, allocations: 138.3 kB / 485.2 MB, free: 24.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.01557, allocations: 229 kB / 485.4 MB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01558, allocations: 2.344 kB / 485.4 MB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.728e-05/0.01567, allocations: 143.4 kB / 485.6 MB, free: 23.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.01591, allocations: 49.45 kB / 485.6 MB, free: 23.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.0165, allocations: 415.3 kB / 486 MB, free: 23.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.188e-05/0.01655, allocations: 96.44 kB / 486.1 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.566e-05/0.01661, allocations: 15.78 kB / 486.1 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.01665, allocations: 19.59 kB / 486.1 MB, free: 23.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01665, allocations: 0 / 486.1 MB, free: 23.44 MB / 426.7 MB Notification: Performance of Templates: time 0.005799/0.02245, allocations: 3.077 MB / 489.2 MB, free: 23.21 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.5487945661880076]