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.0009542/0.0009542, allocations: 79.73 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.000961/0.000961, 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 0.9725/0.9725, allocations: 177.1 MB / 204.6 MB, free: 5.051 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.6088/0.6088, allocations: 110.2 MB / 371.3 MB, free: 12.23 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.064e-06/2.064e-06, allocations: 0 / 422.4 MB, free: 9.363 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.953e-05, allocations: 2.312 kB / 422.4 MB, free: 9.359 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003149/0.003178, allocations: 1.978 MB / 424.3 MB, free: 7.363 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.004168, allocations: 0.7281 MB / 425.1 MB, free: 6.629 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.004253, allocations: 7.938 kB / 425.1 MB, free: 6.621 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.004418, allocations: 87.58 kB / 425.2 MB, free: 6.535 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.004508, allocations: 91.55 kB / 425.3 MB, free: 6.445 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.004878, allocations: 187.5 kB / 425.4 MB, free: 6.262 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.005111, allocations: 259.4 kB / 425.7 MB, free: 6.008 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.005242, allocations: 58.73 kB / 425.8 MB, free: 5.949 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.005404, allocations: 155.7 kB / 425.9 MB, free: 5.797 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.00553, allocations: 119.7 kB / 426 MB, free: 5.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.005554, allocations: 16 kB / 426 MB, free: 5.664 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.005655, allocations: 95.84 kB / 426.1 MB, free: 5.57 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.005707, allocations: 51.84 kB / 426.2 MB, free: 5.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.005757, allocations: 59.78 kB / 426.2 MB, free: 5.461 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.00599, allocations: 227.2 kB / 426.5 MB, free: 5.238 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.005994, allocations: 3.938 kB / 426.5 MB, free: 5.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.005996, allocations: 0 / 426.5 MB, free: 5.234 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.006001, allocations: 0 / 426.5 MB, free: 5.234 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.0004155/0.006417, allocations: 481.1 kB / 426.9 MB, free: 4.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.29e-05/0.00644, allocations: 8.031 kB / 426.9 MB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.006478, allocations: 24.92 kB / 427 MB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.006646, allocations: 220.7 kB / 427.2 MB, free: 4.457 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.006664, allocations: 12.38 kB / 427.2 MB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.006688, allocations: 16.36 kB / 427.2 MB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.006905, allocations: 256.2 kB / 427.5 MB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.006911, allocations: 192 / 427.5 MB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.006923, allocations: 8.375 kB / 427.5 MB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.00693, allocations: 7.938 kB / 427.5 MB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.857e-05/0.006999, allocations: 68.97 kB / 427.5 MB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.007436, allocations: 463.7 kB / 428 MB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.007563, allocations: 128.1 kB / 428.1 MB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.007613, allocations: 66.55 kB / 428.2 MB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.007624, allocations: 0 / 428.2 MB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.00776, allocations: 157.5 kB / 428.3 MB, free: 3.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.007761, allocations: 0 / 428.3 MB, free: 3.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002138/0.007975, allocations: 210.6 kB / 428.5 MB, free: 2.941 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.008033, allocations: 140.5 kB / 428.7 MB, free: 2.773 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.00817, allocations: 229 kB / 428.9 MB, free: 2.539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.008187, allocations: 25.7 kB / 428.9 MB, free: 2.508 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.008249, allocations: 136.9 kB / 429.1 MB, free: 2.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.008278, allocations: 51.5 kB / 429.1 MB, free: 2.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.008323, allocations: 41.69 kB / 429.2 MB, free: 2.273 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.008422, allocations: 334.8 kB / 429.5 MB, free: 1.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.469e-05/0.008477, allocations: 52.52 kB / 429.5 MB, free: 1.879 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.008567, allocations: 150.2 kB / 429.7 MB, free: 1.695 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.423e-05/0.008661, allocations: 145.6 kB / 429.8 MB, free: 1.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008663, allocations: 0 / 429.8 MB, free: 1.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001366/0.0088, allocations: 179.8 kB / 430 MB, free: 1.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.00883, allocations: 52.84 kB / 430 MB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.008834, allocations: 0 / 430 MB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.008844, allocations: 4 kB / 430.1 MB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.008906, allocations: 16.09 kB / 430.1 MB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.00891, allocations: 8 kB / 430.1 MB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.008964, allocations: 19.94 kB / 430.1 MB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.008973, allocations: 4 kB / 430.1 MB, free: 1.227 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.0001043/0.009078, allocations: 166.2 kB / 430.3 MB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.0091, allocations: 19.98 kB / 430.3 MB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.009129, allocations: 29.7 kB / 430.3 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.00913, allocations: 0 / 430.3 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.009133, allocations: 0 / 430.3 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.009138, allocations: 11.98 kB / 430.3 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.009246, allocations: 129.8 kB / 430.4 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.009247, allocations: 0 / 430.4 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.009291, allocations: 12 kB / 430.5 MB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.009293, allocations: 0 / 430.5 MB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.009303, allocations: 3.984 kB / 430.5 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.009304, allocations: 0 / 430.5 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.009306, allocations: 7.938 kB / 430.5 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.009521, allocations: 271.6 kB / 430.7 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.009538, allocations: 19.86 kB / 430.8 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.009561, allocations: 12.03 kB / 430.8 MB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.009599, allocations: 7.984 kB / 430.8 MB, free: 488 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.009649, allocations: 31.89 kB / 430.8 MB, free: 456 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.009661, allocations: 7.938 kB / 430.8 MB, free: 448 kB / 394.7 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.009716, allocations: 78.77 kB / 430.9 MB, free: 364 kB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009716, allocations: 0 / 430.9 MB, free: 364 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.009863, allocations: 59.89 kB / 431 MB, free: 304 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.0001488/0.01001, allocations: 120.3 kB / 431.1 MB, free: 176 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.0102, allocations: 211.8 kB / 431.3 MB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.01021, allocations: 8 kB / 431.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.233e-05/0.01029, allocations: 133.9 kB / 431.4 MB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.01044, allocations: 40.45 kB / 431.5 MB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.01096, allocations: 427.8 kB / 431.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.844e-05/0.01102, allocations: 79.81 kB / 431.9 MB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.062e-05/0.01107, allocations: 17.48 kB / 432 MB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.0112, allocations: 99.34 kB / 432.1 MB, free: 15.07 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0112, allocations: 0 / 432.1 MB, free: 15.07 MB / 410.7 MB Notification: Performance of Templates: time 0.004879/0.01608, allocations: 3.129 MB / 435.2 MB, free: 11.94 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4487402108497918]