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.001013/0.001013, allocations: 92.22 kB / 20.46 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.001824/0.001824, 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 1.032/1.032, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.6575/0.6575, allocations: 110.2 MB / 371 MB, free: 12.39 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.173e-06/1.173e-06, allocations: 0 / 475.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.535e-05, allocations: 5.672 kB / 475.2 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00448/0.004506, allocations: 1.983 MB / 477.1 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.005674, allocations: 0.7328 MB / 477.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.005788, allocations: 7.312 kB / 477.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.006006, allocations: 74.03 kB / 478 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.006106, allocations: 99.75 kB / 478.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.006557, allocations: 187.1 kB / 478.2 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.006825, allocations: 259.5 kB / 478.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.006981, allocations: 46.33 kB / 478.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.007147, allocations: 157.2 kB / 478.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.007337, allocations: 140.7 kB / 478.8 MB, free: 12.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.007374, allocations: 18 kB / 478.8 MB, free: 12.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.007495, allocations: 94.39 kB / 478.9 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.007557, allocations: 58.62 kB / 479 MB, free: 12.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.007623, allocations: 65.52 kB / 479.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.007898, allocations: 233.8 kB / 479.3 MB, free: 12.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.007902, allocations: 0 / 479.3 MB, free: 12.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007903, allocations: 0 / 479.3 MB, free: 12.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.423e-06/0.00791, allocations: 0 / 479.3 MB, free: 12.78 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.0006745/0.008584, allocations: 0.6095 MB / 479.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.008628, allocations: 8.406 kB / 479.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.008703, allocations: 47.66 kB / 480 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.00901, allocations: 241.8 kB / 480.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.00904, allocations: 16.34 kB / 480.2 MB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.009076, allocations: 14.47 kB / 480.2 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.009359, allocations: 279.4 kB / 480.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.009375, allocations: 192 / 480.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.009393, allocations: 11.03 kB / 480.5 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.009403, allocations: 2.906 kB / 480.5 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.009513, allocations: 87.38 kB / 480.6 MB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.0104, allocations: 0.7212 MB / 481.3 MB, free: 27.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.01056, allocations: 111.5 kB / 481.4 MB, free: 27.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.01063, allocations: 68.39 kB / 481.5 MB, free: 26.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.01064, allocations: 3.875 kB / 481.5 MB, free: 26.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.01078, allocations: 155.1 kB / 481.6 MB, free: 26.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.01079, allocations: 0 / 481.6 MB, free: 26.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003363/0.01112, allocations: 270.1 kB / 481.9 MB, free: 26.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.01116, allocations: 135.5 kB / 482 MB, free: 26.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.01135, allocations: 301.5 kB / 482.3 MB, free: 26.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.01137, allocations: 35.5 kB / 482.4 MB, free: 26.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.01147, allocations: 206.2 kB / 482.6 MB, free: 26.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.0115, allocations: 46.12 kB / 482.6 MB, free: 26.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.01155, allocations: 47.69 kB / 482.7 MB, free: 26.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.01169, allocations: 0.51 MB / 483.2 MB, free: 25.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.01176, allocations: 57.34 kB / 483.2 MB, free: 25.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.622e-05/0.01185, allocations: 172.9 kB / 483.4 MB, free: 25.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.01198, allocations: 157.8 kB / 483.6 MB, free: 25.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01199, allocations: 0 / 483.6 MB, free: 25.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002552/0.01224, allocations: 253.8 kB / 483.8 MB, free: 25.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.01228, allocations: 47.55 kB / 483.8 MB, free: 25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01228, allocations: 0.9375 kB / 483.8 MB, free: 25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.0123, allocations: 0 / 483.8 MB, free: 25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.0124, allocations: 21.72 kB / 483.9 MB, free: 25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.01241, allocations: 5.219 kB / 483.9 MB, free: 24.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.01247, allocations: 21.05 kB / 483.9 MB, free: 24.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.01249, allocations: 10.91 kB / 483.9 MB, free: 24.98 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.0001172/0.0126, allocations: 203.5 kB / 484.1 MB, free: 24.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.01264, allocations: 38.03 kB / 484.1 MB, free: 24.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.01268, allocations: 32.22 kB / 484.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01268, allocations: 0 / 484.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01268, allocations: 0 / 484.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01269, allocations: 0 / 484.2 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.01285, allocations: 225.6 kB / 484.4 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01286, allocations: 0.5 kB / 484.4 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/0.01292, allocations: 21.05 kB / 484.4 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01293, allocations: 5.438 kB / 484.4 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.01294, allocations: 8.5 kB / 484.4 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01294, allocations: 0 / 484.4 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01295, allocations: 0 / 484.4 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.01331, allocations: 339.7 kB / 484.8 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.01333, allocations: 32.14 kB / 484.8 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.01336, allocations: 3.531 kB / 484.8 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.01341, allocations: 14.14 kB / 484.8 MB, free: 24.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.01348, allocations: 23.8 kB / 484.8 MB, free: 24.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.0135, allocations: 9.25 kB / 484.8 MB, free: 24.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.01362, allocations: 204.4 kB / 485 MB, free: 24.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01362, allocations: 4.594 kB / 485 MB, free: 24.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.01382, allocations: 55.11 kB / 485.1 MB, free: 24.12 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.0001793/0.014, allocations: 139.7 kB / 485.2 MB, free: 24.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.01429, allocations: 225.1 kB / 485.5 MB, free: 23.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01429, allocations: 1.188 kB / 485.5 MB, free: 23.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.01441, allocations: 151.2 kB / 485.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.01466, allocations: 35.28 kB / 485.6 MB, free: 23.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.01524, allocations: 425.4 kB / 486.1 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.148e-05/0.01529, allocations: 85.64 kB / 486.1 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.01534, allocations: 16.27 kB / 486.2 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.01539, allocations: 21.33 kB / 486.2 MB, free: 23.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.01539, allocations: 0 / 486.2 MB, free: 23.37 MB / 426.7 MB Notification: Performance of Templates: time 0.005847/0.02124, allocations: 2.925 MB / 489.1 MB, free: 23.17 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.7003219299949706]