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.001007/0.001007, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001295/0.002302, allocations: 449.8 kB / 10.44 MB, free: 252 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.001077/0.001077, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.002481, allocations: 479.5 kB / 11.83 MB, free: 2.34 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.952/0.952, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08953/1.042, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.5924/0.5924, allocations: 110.3 MB / 354.4 MB, free: 12.27 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.05951/0.6519, allocations: 34.96 MB / 389.4 MB, free: 9.254 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.392e-06/1.392e-06, allocations: 3.938 kB / 390.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.957e-05, allocations: 6.25 kB / 390.7 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003324/0.003343, allocations: 2.013 MB / 392.8 MB, free: 5.898 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009458/0.004289, allocations: 0.7359 MB / 393.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.004421, allocations: 0 / 393.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.004611, allocations: 95.56 kB / 393.6 MB, free: 5.062 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.004717, allocations: 99.5 kB / 393.7 MB, free: 4.965 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.00511, allocations: 175.6 kB / 393.9 MB, free: 4.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.005373, allocations: 255.4 kB / 394.1 MB, free: 4.543 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.00549, allocations: 62.67 kB / 394.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.005781, allocations: 171.7 kB / 394.3 MB, free: 4.312 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.005926, allocations: 115.7 kB / 394.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.005953, allocations: 20 kB / 394.5 MB, free: 4.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.006099, allocations: 91.92 kB / 394.6 MB, free: 4.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.006159, allocations: 51.8 kB / 394.6 MB, free: 4.039 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.006213, allocations: 47.88 kB / 394.7 MB, free: 3.992 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.006449, allocations: 211.2 kB / 394.9 MB, free: 3.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.006461, allocations: 0 / 394.9 MB, free: 3.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.006461, allocations: 0 / 394.9 MB, free: 3.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.006472, allocations: 0 / 394.9 MB, free: 3.785 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.0005464/0.007019, allocations: 0.5046 MB / 395.4 MB, free: 3.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.007049, allocations: 15.95 kB / 395.4 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.007099, allocations: 28.92 kB / 395.4 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.0073, allocations: 196.9 kB / 395.6 MB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.00732, allocations: 16.31 kB / 395.6 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.00735, allocations: 24.31 kB / 395.6 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.007584, allocations: 256.3 kB / 395.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.007591, allocations: 192 / 395.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.007603, allocations: 8.375 kB / 395.9 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.00761, allocations: 7.938 kB / 395.9 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.007682, allocations: 72.92 kB / 396 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.008117, allocations: 475.5 kB / 396.4 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.008233, allocations: 136.1 kB / 396.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.008274, allocations: 66.53 kB / 396.6 MB, free: 1.848 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.008282, allocations: 4 kB / 396.6 MB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.00841, allocations: 149.7 kB / 396.8 MB, free: 1.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.008411, allocations: 3.938 kB / 396.8 MB, free: 1.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001998/0.008611, allocations: 218.6 kB / 397 MB, free: 1.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.008665, allocations: 170.2 kB / 397.2 MB, free: 1.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.008787, allocations: 232.9 kB / 397.4 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.008805, allocations: 33.7 kB / 397.4 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.00886, allocations: 132.9 kB / 397.6 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.008886, allocations: 47.62 kB / 397.6 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.00893, allocations: 37.69 kB / 397.6 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002777/0.009208, allocations: 338.8 kB / 398 MB, free: 392 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.637e-05/0.009254, allocations: 52.52 kB / 398 MB, free: 332 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.009334, allocations: 158.2 kB / 398.2 MB, free: 136 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.009455, allocations: 149.6 kB / 398.3 MB, free: 15.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.009458, allocations: 0 / 398.3 MB, free: 15.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001452/0.009603, allocations: 183.8 kB / 398.5 MB, free: 15.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.009643, allocations: 45.62 kB / 398.6 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.009649, allocations: 0 / 398.6 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.009659, allocations: 0 / 398.6 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.009741, allocations: 27.92 kB / 398.6 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.009746, allocations: 4 kB / 398.6 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.009808, allocations: 23.98 kB / 398.6 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.009819, allocations: 4 kB / 398.6 MB, free: 15.65 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 9.946e-05/0.009918, allocations: 158.4 kB / 398.8 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.009943, allocations: 27.91 kB / 398.8 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.009975, allocations: 21.72 kB / 398.8 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.009979, allocations: 4 kB / 398.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.009982, allocations: 7.922 kB / 398.8 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.009985, allocations: 0 / 398.8 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.01009, allocations: 133.7 kB / 399 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01009, allocations: 4 kB / 399 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.01015, allocations: 16 kB / 399 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.01017, allocations: 23.84 kB / 399 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.01017, allocations: 0 / 399 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01018, allocations: 7.938 kB / 399 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01018, allocations: 0 / 399 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01018, allocations: 0 / 399 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.0104, allocations: 275.7 kB / 399.3 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.01043, allocations: 15.98 kB / 399.3 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.262e-05/0.01047, allocations: 8.031 kB / 399.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.01052, allocations: 31.89 kB / 399.3 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.01054, allocations: 7.984 kB / 399.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.316e-05/0.01059, allocations: 74.78 kB / 399.4 MB, free: 14.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01059, allocations: 0 / 399.4 MB, free: 14.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001624/0.01075, allocations: 59.83 kB / 399.5 MB, free: 14.71 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.000138/0.01089, allocations: 128.4 kB / 399.6 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.01106, allocations: 215.5 kB / 399.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.01107, allocations: 4 kB / 399.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.01116, allocations: 145.9 kB / 400 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.01136, allocations: 218.4 kB / 400.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.01193, allocations: 424 kB / 400.6 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.01197, allocations: 87.81 kB / 400.7 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.01202, allocations: 21.47 kB / 400.7 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.01214, allocations: 95.33 kB / 400.8 MB, free: 13.25 MB / 394.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01214, allocations: 4 kB / 400.8 MB, free: 13.25 MB / 394.7 MB Notification: Performance of Templates: time 0.004859/0.017, allocations: 3.221 MB / 404 MB, free: 10.02 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.0529253846034408]