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.001948/0.001948, allocations: 87.67 kB / 20.24 MB, free: 4.188 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.00197/0.00197, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.712/1.712, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.9933/0.9933, allocations: 110.3 MB / 370.6 MB, free: 12.45 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.284e-06/2.284e-06, allocations: 0 / 474.4 MB, free: 15.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.075e-05, allocations: 6.969 kB / 474.4 MB, free: 15.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004509/0.004539, allocations: 1.952 MB / 476.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.006442, allocations: 0.7244 MB / 477.1 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.006584, allocations: 6.562 kB / 477.1 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.006904, allocations: 78.02 kB / 477.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.007103, allocations: 97.08 kB / 477.3 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.007901, allocations: 189 kB / 477.5 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.008285, allocations: 257.8 kB / 477.7 MB, free: 13.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.008462, allocations: 55.11 kB / 477.8 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.008732, allocations: 145.8 kB / 477.9 MB, free: 13.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.008988, allocations: 141.6 kB / 478.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.009043, allocations: 23.78 kB / 478.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.009245, allocations: 91.3 kB / 478.2 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.236e-05/0.009338, allocations: 57.52 kB / 478.2 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.009444, allocations: 69.33 kB / 478.3 MB, free: 13.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005123/0.009956, allocations: 337.8 kB / 478.6 MB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.009961, allocations: 0 / 478.6 MB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.009962, allocations: 0 / 478.6 MB, free: 12.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.009969, allocations: 0 / 478.6 MB, free: 12.89 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.001018/0.01099, allocations: 0.6165 MB / 479.2 MB, free: 12.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.01103, allocations: 11.06 kB / 479.3 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.01115, allocations: 41.47 kB / 479.3 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005678/0.01172, allocations: 244.1 kB / 479.5 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.01175, allocations: 18.56 kB / 479.5 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.0118, allocations: 15.22 kB / 479.6 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.01234, allocations: 295.8 kB / 479.9 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.01235, allocations: 0.7812 kB / 479.9 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.01239, allocations: 14.06 kB / 479.9 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.01239, allocations: 4.094 kB / 479.9 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.01277, allocations: 125 kB / 480 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.01391, allocations: 0.7719 MB / 480.8 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.01438, allocations: 161.9 kB / 480.9 MB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.0146, allocations: 90.94 kB / 481 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.01463, allocations: 2.844 kB / 481 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/0.01497, allocations: 183.1 kB / 481.2 MB, free: 10.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.01497, allocations: 0 / 481.2 MB, free: 10.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009087/0.01588, allocations: 329.8 kB / 481.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.01593, allocations: 135.6 kB / 481.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.01657, allocations: 344.5 kB / 482 MB, free: 26.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.01659, allocations: 32.33 kB / 482 MB, free: 26.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.01682, allocations: 225.8 kB / 482.2 MB, free: 26.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.01688, allocations: 43.95 kB / 482.3 MB, free: 26.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.017, allocations: 55.55 kB / 482.3 MB, free: 25.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004452/0.01744, allocations: 0.5228 MB / 482.9 MB, free: 25.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.0177, allocations: 84.39 kB / 482.9 MB, free: 25.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.01805, allocations: 209.7 kB / 483.1 MB, free: 25.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.01854, allocations: 196.7 kB / 483.3 MB, free: 25.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.01854, allocations: 2.812 kB / 483.3 MB, free: 25.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008086/0.01935, allocations: 299.8 kB / 483.6 MB, free: 24.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.656e-05/0.01942, allocations: 37.3 kB / 483.7 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.01943, allocations: 0 / 483.7 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.01945, allocations: 6.578 kB / 483.7 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.01966, allocations: 15.91 kB / 483.7 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.01967, allocations: 10.66 kB / 483.7 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.01987, allocations: 21.58 kB / 483.7 MB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.0199, allocations: 5.5 kB / 483.7 MB, free: 24.87 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.0003063/0.0202, allocations: 211.3 kB / 483.9 MB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/0.02028, allocations: 47.91 kB / 484 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/0.02035, allocations: 20.89 kB / 484 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.02036, allocations: 3.344 kB / 484 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.02036, allocations: 3.984 kB / 484 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.02037, allocations: 1.906 kB / 484 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.02076, allocations: 243.3 kB / 484.2 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.02076, allocations: 3.938 kB / 484.2 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.02092, allocations: 14.41 kB / 484.3 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.02093, allocations: 4.5 kB / 484.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.02095, allocations: 5.125 kB / 484.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.02096, allocations: 3.844 kB / 484.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.02096, allocations: 1.219 kB / 484.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.02205, allocations: 415.7 kB / 484.7 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.0221, allocations: 31.91 kB / 484.7 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.02217, allocations: 9.625 kB / 484.7 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.02233, allocations: 10.69 kB / 484.7 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.02245, allocations: 29.61 kB / 484.8 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.02249, allocations: 4.469 kB / 484.8 MB, free: 24.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000324/0.02281, allocations: 229.9 kB / 485 MB, free: 23.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.02281, allocations: 0 / 485 MB, free: 23.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005069/0.02332, allocations: 57.03 kB / 485 MB, free: 23.96 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.0003036/0.02362, allocations: 143.2 kB / 485.2 MB, free: 23.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007286/0.02435, allocations: 288 kB / 485.5 MB, free: 23.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.02436, allocations: 1.219 kB / 485.5 MB, free: 23.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.02473, allocations: 179.3 kB / 485.6 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.02507, allocations: 42.73 kB / 485.7 MB, free: 23.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.02572, allocations: 440.7 kB / 486.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.02584, allocations: 140.5 kB / 486.3 MB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.765e-05/0.02591, allocations: 18.41 kB / 486.3 MB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.02595, allocations: 17.47 kB / 486.3 MB, free: 23.14 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02595, allocations: 3.938 kB / 486.3 MB, free: 23.14 MB / 426.7 MB Notification: Performance of Templates: time 0.006616/0.03257, allocations: 2.888 MB / 489.2 MB, free: 22.95 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: 5.80666654300876]