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.0009212/0.0009212, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.00228, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007692/0.0007692, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001811, allocations: 463.6 kB / 11.71 MB, free: 2.457 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 0.9735/0.9735, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09275/1.066, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.5726/0.5726, allocations: 110.2 MB / 354.2 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.06579/0.6384, allocations: 34.96 MB / 389.2 MB, free: 9.348 MB / 378.7 MB " [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.232e-06/1.232e-06, allocations: 0 / 390.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.222e-05, allocations: 2.312 kB / 390.5 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003742/0.003764, allocations: 2.005 MB / 392.5 MB, free: 6.031 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.005229, allocations: 0.7359 MB / 393.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.00541, allocations: 3.938 kB / 393.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.005635, allocations: 95.56 kB / 393.3 MB, free: 5.191 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.005809, allocations: 103.5 kB / 393.4 MB, free: 5.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.006374, allocations: 171.5 kB / 393.6 MB, free: 4.922 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.006781, allocations: 255.4 kB / 393.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.006939, allocations: 58.75 kB / 393.9 MB, free: 4.613 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.007242, allocations: 179.6 kB / 394.1 MB, free: 4.438 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.007453, allocations: 115.7 kB / 394.2 MB, free: 4.324 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.007497, allocations: 20 kB / 394.2 MB, free: 4.305 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.007689, allocations: 91.92 kB / 394.3 MB, free: 4.215 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.782e-05/0.007767, allocations: 47.8 kB / 394.4 MB, free: 4.168 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.007841, allocations: 43.88 kB / 394.4 MB, free: 4.125 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.008198, allocations: 207.2 kB / 394.6 MB, free: 3.922 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.999e-05/0.008218, allocations: 0 / 394.6 MB, free: 3.922 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.008219, allocations: 0 / 394.6 MB, free: 3.922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.00824, allocations: 3.938 kB / 394.6 MB, free: 3.918 MB / 378.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.0007846/0.009025, allocations: 0.5202 MB / 395.1 MB, free: 3.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.009059, allocations: 8.031 kB / 395.1 MB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.009135, allocations: 28.92 kB / 395.2 MB, free: 3.332 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.00943, allocations: 196.8 kB / 395.3 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.00946, allocations: 16.38 kB / 395.4 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.009496, allocations: 20.33 kB / 395.4 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.009819, allocations: 256.4 kB / 395.6 MB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.009829, allocations: 192 / 395.6 MB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.009846, allocations: 16.25 kB / 395.7 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.009854, allocations: 3.938 kB / 395.7 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.009981, allocations: 76.97 kB / 395.7 MB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.0106, allocations: 463.6 kB / 396.2 MB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.01078, allocations: 136.1 kB / 396.3 MB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/0.01085, allocations: 66.55 kB / 396.4 MB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.01086, allocations: 7.984 kB / 396.4 MB, free: 1.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.01105, allocations: 153.5 kB / 396.5 MB, free: 1.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/0.01105, allocations: 0 / 396.5 MB, free: 1.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002879/0.01134, allocations: 222.6 kB / 396.8 MB, free: 1.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.01139, allocations: 85.11 kB / 396.8 MB, free: 1.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.01157, allocations: 232.9 kB / 397.1 MB, free: 1.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.01159, allocations: 33.7 kB / 397.1 MB, free: 1.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.01167, allocations: 128.9 kB / 397.2 MB, free: 1.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.01171, allocations: 51.61 kB / 397.3 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.01178, allocations: 41.62 kB / 397.3 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.01188, allocations: 338.8 kB / 397.6 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.01196, allocations: 56.52 kB / 397.7 MB, free: 0.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.01206, allocations: 150.2 kB / 397.8 MB, free: 368 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.01221, allocations: 149.5 kB / 398 MB, free: 192 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01221, allocations: 0 / 398 MB, free: 192 kB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002345/0.01245, allocations: 183.9 kB / 398.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.01249, allocations: 41.58 kB / 398.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.0125, allocations: 4 kB / 398.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.01251, allocations: 0 / 398.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01262, allocations: 31.92 kB / 398.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.01263, allocations: 0 / 398.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/0.01272, allocations: 23.88 kB / 398.3 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.01273, allocations: 4 kB / 398.3 MB, free: 15.88 MB / 394.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.0001301/0.01286, allocations: 170.3 kB / 398.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.0129, allocations: 15.98 kB / 398.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.01295, allocations: 33.7 kB / 398.5 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01295, allocations: 0 / 398.5 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.01296, allocations: 0 / 398.5 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01296, allocations: 0 / 398.5 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.01311, allocations: 137.7 kB / 398.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01311, allocations: 0 / 398.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.01319, allocations: 15.98 kB / 398.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.01321, allocations: 15.86 kB / 398.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.01322, allocations: 8 kB / 398.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.01323, allocations: 11.94 kB / 398.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01323, allocations: 3.984 kB / 398.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01324, allocations: 0 / 398.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.01354, allocations: 271.7 kB / 398.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.01357, allocations: 4 kB / 399 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.01364, allocations: 15.98 kB / 399 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.01371, allocations: 23.89 kB / 399 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.01373, allocations: 8 kB / 399 MB, free: 15.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.931e-05/0.01382, allocations: 82.75 kB / 399.1 MB, free: 15 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01382, allocations: 4.031 kB / 399.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.01407, allocations: 59.83 kB / 399.1 MB, free: 14.93 MB / 394.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.0001835/0.01425, allocations: 116.3 kB / 399.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.0145, allocations: 219.5 kB / 399.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.01451, allocations: 4 kB / 399.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.01463, allocations: 133.9 kB / 399.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.01484, allocations: 56.36 kB / 399.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008649/0.01571, allocations: 419.4 kB / 400.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.244e-05/0.01577, allocations: 83.81 kB / 400.2 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.347e-05/0.01584, allocations: 17.48 kB / 400.2 MB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.01601, allocations: 99.34 kB / 400.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01601, allocations: 3.938 kB / 400.3 MB, free: 13.69 MB / 394.7 MB Notification: Performance of Templates: time 0.007181/0.02319, allocations: 3.238 MB / 403.5 MB, free: 10.46 MB / 394.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.1183741902932525]