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.001022/0.001022, allocations: 82.64 kB / 21.47 MB, free: 3.031 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.001183/0.001183, allocations: 161.3 kB / 24.87 MB, free: 9.215 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.9646/0.9646, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.5748/0.5748, allocations: 110.2 MB / 372.1 MB, free: 12.38 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.613e-06/1.613e-06, allocations: 0 / 476.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.582e-05, allocations: 8.781 kB / 476.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002564/0.00259, allocations: 1.97 MB / 478.4 MB, free: 13.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.003581, allocations: 0.7178 MB / 479.1 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.003713, allocations: 10.72 kB / 479.1 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.003914, allocations: 82.09 kB / 479.2 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.004013, allocations: 92.14 kB / 479.3 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.004487, allocations: 185.8 kB / 479.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.004763, allocations: 263.1 kB / 479.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.004885, allocations: 43.38 kB / 479.8 MB, free: 13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.005061, allocations: 162.4 kB / 479.9 MB, free: 12.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.005232, allocations: 134.3 kB / 480.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.005261, allocations: 18.66 kB / 480.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.005381, allocations: 86.28 kB / 480.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.005442, allocations: 59.91 kB / 480.2 MB, free: 12.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.005496, allocations: 61.61 kB / 480.3 MB, free: 12.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.005742, allocations: 229.6 kB / 480.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.005745, allocations: 0.5 kB / 480.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005746, allocations: 1.281 kB / 480.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.005752, allocations: 0 / 480.5 MB, free: 12.71 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.0004902/0.006242, allocations: 0.5959 MB / 481.1 MB, free: 12.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.006271, allocations: 8.969 kB / 481.1 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.006326, allocations: 40.25 kB / 481.1 MB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.006512, allocations: 234.2 kB / 481.4 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.006531, allocations: 15.84 kB / 481.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.006555, allocations: 19.22 kB / 481.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.006753, allocations: 261.8 kB / 481.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.006761, allocations: 3.625 kB / 481.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.006774, allocations: 7.219 kB / 481.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.00678, allocations: 6.688 kB / 481.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.451e-05/0.006844, allocations: 77.05 kB / 481.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.007506, allocations: 0.6718 MB / 482.4 MB, free: 27.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.007621, allocations: 97.58 kB / 482.5 MB, free: 27.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.007663, allocations: 73.86 kB / 482.6 MB, free: 26.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.007672, allocations: 2.875 kB / 482.6 MB, free: 26.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.007777, allocations: 143 kB / 482.7 MB, free: 26.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.007778, allocations: 0.5 kB / 482.7 MB, free: 26.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002548/0.008033, allocations: 273.3 kB / 483 MB, free: 26.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.008066, allocations: 136.1 kB / 483.1 MB, free: 26.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.008211, allocations: 295.8 kB / 483.4 MB, free: 26.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.008226, allocations: 34.14 kB / 483.5 MB, free: 26.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.008311, allocations: 214.1 kB / 483.7 MB, free: 26.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.008333, allocations: 40.73 kB / 483.7 MB, free: 26.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.008386, allocations: 47.83 kB / 483.8 MB, free: 26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.008494, allocations: 0.5147 MB / 484.3 MB, free: 25.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.478e-05/0.008549, allocations: 51.8 kB / 484.3 MB, free: 25.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.008623, allocations: 166.2 kB / 484.5 MB, free: 25.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.831e-05/0.008722, allocations: 157.2 kB / 484.6 MB, free: 25.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.008724, allocations: 0.5 kB / 484.6 MB, free: 25.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001977/0.008921, allocations: 235.1 kB / 484.9 MB, free: 25.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.008952, allocations: 44.86 kB / 484.9 MB, free: 24.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.008958, allocations: 3.938 kB / 484.9 MB, free: 24.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.008965, allocations: 1.219 kB / 484.9 MB, free: 24.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.009031, allocations: 25.53 kB / 484.9 MB, free: 24.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-06/0.009033, allocations: 0 / 484.9 MB, free: 24.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/0.009094, allocations: 20.36 kB / 485 MB, free: 24.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.009107, allocations: 9.375 kB / 485 MB, free: 24.97 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.0001024/0.009209, allocations: 204.8 kB / 485.2 MB, free: 24.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.009238, allocations: 38.94 kB / 485.2 MB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.009268, allocations: 23 kB / 485.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.00927, allocations: 4.031 kB / 485.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.009273, allocations: 0 / 485.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009276, allocations: 0 / 485.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.009422, allocations: 185.5 kB / 485.4 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009424, allocations: 0.5312 kB / 485.4 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.009476, allocations: 22.47 kB / 485.4 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.009477, allocations: 1.688 kB / 485.4 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.009489, allocations: 1.156 kB / 485.4 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00949, allocations: 5.375 kB / 485.4 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.009491, allocations: 0 / 485.4 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.009806, allocations: 319.8 kB / 485.8 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.009835, allocations: 24.61 kB / 485.8 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.009861, allocations: 7.844 kB / 485.8 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.793e-05/0.009909, allocations: 14.02 kB / 485.8 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.009968, allocations: 30.31 kB / 485.8 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.009992, allocations: 11.72 kB / 485.8 MB, free: 24.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.479e-05/0.01009, allocations: 193.3 kB / 486 MB, free: 24.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01009, allocations: 0 / 486 MB, free: 24.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.0103, allocations: 57.95 kB / 486.1 MB, free: 24.16 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.0001561/0.01046, allocations: 132.9 kB / 486.2 MB, free: 24.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.01065, allocations: 224.6 kB / 486.4 MB, free: 23.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01065, allocations: 0.6875 kB / 486.4 MB, free: 23.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.277e-05/0.01074, allocations: 142.5 kB / 486.6 MB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.01094, allocations: 46.69 kB / 486.6 MB, free: 23.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.01144, allocations: 409.8 kB / 487 MB, free: 23.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.375e-05/0.01148, allocations: 90.11 kB / 487.1 MB, free: 23.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.511e-05/0.01153, allocations: 16 kB / 487.1 MB, free: 23.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.01167, allocations: 119.7 kB / 487.2 MB, free: 23.35 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01167, allocations: 0 / 487.2 MB, free: 23.35 MB / 426.7 MB Notification: Performance of Templates: time 0.005848/0.01752, allocations: 3.201 MB / 490.4 MB, free: 23.08 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.3673922871239483]