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.0008762/0.0008762, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.0009044/0.0009044, allocations: 165 kB / 24.17 MB, free: 332 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 1.03/1.03, allocations: 177.2 MB / 204.6 MB, free: 5.422 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.6106/0.6106, allocations: 110.3 MB / 371.3 MB, free: 12.32 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.663e-06/1.663e-06, allocations: 0 / 422.4 MB, free: 9.328 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.686e-05, allocations: 6.25 kB / 422.4 MB, free: 9.32 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002395/0.002412, allocations: 2.029 MB / 424.4 MB, free: 7.273 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000955/0.003367, allocations: 0.7282 MB / 425.2 MB, free: 6.539 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.386e-05/0.003461, allocations: 0 / 425.2 MB, free: 6.539 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.003656, allocations: 87.58 kB / 425.3 MB, free: 6.453 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.003759, allocations: 91.52 kB / 425.4 MB, free: 6.363 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.00415, allocations: 175.6 kB / 425.5 MB, free: 6.191 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.004388, allocations: 259.4 kB / 425.8 MB, free: 5.938 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.004501, allocations: 62.73 kB / 425.8 MB, free: 5.875 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.004654, allocations: 159.6 kB / 426 MB, free: 5.719 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.004802, allocations: 119.7 kB / 426.1 MB, free: 5.602 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.004827, allocations: 16 kB / 426.1 MB, free: 5.586 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.004964, allocations: 99.91 kB / 426.2 MB, free: 5.488 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.005019, allocations: 51.8 kB / 426.3 MB, free: 5.438 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.005075, allocations: 59.83 kB / 426.3 MB, free: 5.379 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.0053, allocations: 231.2 kB / 426.6 MB, free: 5.152 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.005302, allocations: 0 / 426.6 MB, free: 5.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005302, allocations: 4 kB / 426.6 MB, free: 5.148 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005306, allocations: 4 kB / 426.6 MB, free: 5.145 MB / 394.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.000439/0.005745, allocations: 473.1 kB / 427 MB, free: 4.652 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.005773, allocations: 8.031 kB / 427 MB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.005817, allocations: 32.91 kB / 427.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.006026, allocations: 204.8 kB / 427.3 MB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.006044, allocations: 12.38 kB / 427.3 MB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.006067, allocations: 16.38 kB / 427.3 MB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.00629, allocations: 260.2 kB / 427.5 MB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.006297, allocations: 192 / 427.5 MB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.006309, allocations: 8.375 kB / 427.6 MB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.006315, allocations: 7.938 kB / 427.6 MB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.006383, allocations: 76.89 kB / 427.6 MB, free: 3.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.006799, allocations: 451.7 kB / 428.1 MB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.006915, allocations: 148.1 kB / 428.2 MB, free: 3.332 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.006958, allocations: 62.55 kB / 428.3 MB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.006966, allocations: 3.938 kB / 428.3 MB, free: 3.258 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.007077, allocations: 145.6 kB / 428.4 MB, free: 3.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.007078, allocations: 0 / 428.4 MB, free: 3.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002382/0.007316, allocations: 214.6 kB / 428.6 MB, free: 2.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.007356, allocations: 132.5 kB / 428.8 MB, free: 2.695 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.007475, allocations: 225 kB / 429 MB, free: 2.465 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.00749, allocations: 29.7 kB / 429 MB, free: 2.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.007545, allocations: 144.8 kB / 429.2 MB, free: 2.285 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.007571, allocations: 47.56 kB / 429.2 MB, free: 2.238 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.007616, allocations: 41.69 kB / 429.2 MB, free: 2.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.007693, allocations: 334.8 kB / 429.6 MB, free: 1.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.007731, allocations: 48.52 kB / 429.6 MB, free: 1.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.007828, allocations: 154.2 kB / 429.8 MB, free: 1.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.007952, allocations: 145.7 kB / 429.9 MB, free: 1.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007954, allocations: 4.031 kB / 429.9 MB, free: 1.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001477/0.008101, allocations: 179.7 kB / 430.1 MB, free: 1.246 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.00813, allocations: 49.38 kB / 430.1 MB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.008137, allocations: 4 kB / 430.1 MB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.008146, allocations: 0 / 430.1 MB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/0.008221, allocations: 23.98 kB / 430.2 MB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.008224, allocations: 0 / 430.2 MB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/0.008279, allocations: 23.88 kB / 430.2 MB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.008289, allocations: 4.094 kB / 430.2 MB, free: 1.141 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 8.755e-05/0.008377, allocations: 166.3 kB / 430.4 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.008405, allocations: 19.98 kB / 430.4 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.008434, allocations: 25.7 kB / 430.4 MB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.008437, allocations: 4 kB / 430.4 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.008439, allocations: 0 / 430.4 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.008441, allocations: 0 / 430.4 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.008546, allocations: 129.8 kB / 430.5 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.008547, allocations: 0 / 430.5 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.0086, allocations: 27.92 kB / 430.6 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.008601, allocations: 3.938 kB / 430.6 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.008612, allocations: 4 kB / 430.6 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.008612, allocations: 0 / 430.6 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.008615, allocations: 3.938 kB / 430.6 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.00883, allocations: 271.6 kB / 430.8 MB, free: 436 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.008848, allocations: 19.84 kB / 430.9 MB, free: 416 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.008871, allocations: 11.94 kB / 430.9 MB, free: 404 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.008912, allocations: 12 kB / 430.9 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.008965, allocations: 31.89 kB / 430.9 MB, free: 360 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.008979, allocations: 12.02 kB / 430.9 MB, free: 348 kB / 394.7 MB Notification: Performance of sorting global known variables: time 5.396e-05/0.009033, allocations: 70.78 kB / 431 MB, free: 272 kB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009033, allocations: 4 kB / 431 MB, free: 268 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.009183, allocations: 55.89 kB / 431.1 MB, free: 212 kB / 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.0001164/0.0093, allocations: 120.3 kB / 431.2 MB, free: 84 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.009473, allocations: 204 kB / 431.4 MB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.009477, allocations: 192 / 431.4 MB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.009556, allocations: 145.9 kB / 431.5 MB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.009695, allocations: 28.48 kB / 431.5 MB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.01012, allocations: 419.5 kB / 432 MB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.302e-05/0.01016, allocations: 87.81 kB / 432 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.047e-05/0.01021, allocations: 21.47 kB / 432.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.01033, allocations: 95.36 kB / 432.2 MB, free: 15 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01033, allocations: 0 / 432.2 MB, free: 15 MB / 410.7 MB Notification: Performance of Templates: time 0.004456/0.01479, allocations: 3.133 MB / 435.3 MB, free: 11.86 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4468376017175615]