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.001419/0.001419, allocations: 84.39 kB / 20.23 MB, free: 4.203 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.001579/0.001579, allocations: 161.7 kB / 23.55 MB, free: 0.8945 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.465/1.465, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.9178/0.9178, 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 1.403e-06/1.403e-06, allocations: 0 / 474.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.28e-05, allocations: 4.812 kB / 474.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002629/0.002652, allocations: 1.917 MB / 476.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.003857, allocations: 0.713 MB / 477.1 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.004027, allocations: 6.562 kB / 477.1 MB, free: 13.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.004272, allocations: 80.41 kB / 477.2 MB, free: 13.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.004401, allocations: 100.1 kB / 477.2 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.00495, allocations: 180.7 kB / 477.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.0052, allocations: 261.7 kB / 477.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.005326, allocations: 50.58 kB / 477.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.005491, allocations: 164.6 kB / 477.9 MB, free: 13.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.005654, allocations: 138 kB / 478 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.005689, allocations: 19.28 kB / 478 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.005814, allocations: 84.94 kB / 478.1 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.005881, allocations: 62.31 kB / 478.2 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.268e-05/0.005954, allocations: 65.7 kB / 478.3 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.006285, allocations: 333.2 kB / 478.6 MB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.006289, allocations: 0 / 478.6 MB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00629, allocations: 3.938 kB / 478.6 MB, free: 12.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.006295, allocations: 0 / 478.6 MB, free: 12.88 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.0007106/0.007005, allocations: 0.5139 MB / 479.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.007049, allocations: 10.97 kB / 479.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.584e-05/0.007135, allocations: 41.72 kB / 479.1 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.007512, allocations: 249.1 kB / 479.4 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.007536, allocations: 15.06 kB / 479.4 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.007575, allocations: 16.09 kB / 479.4 MB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.007938, allocations: 307.7 kB / 479.7 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.007948, allocations: 0.8438 kB / 479.7 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.00797, allocations: 11.03 kB / 479.7 MB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.007976, allocations: 5.344 kB / 479.7 MB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.008204, allocations: 162.7 kB / 479.9 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.008826, allocations: 0.5704 MB / 480.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.009159, allocations: 185.2 kB / 480.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.009305, allocations: 118 kB / 480.8 MB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.009324, allocations: 8.109 kB / 480.8 MB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.009567, allocations: 208.5 kB / 481 MB, free: 11.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.009568, allocations: 0 / 481 MB, free: 11.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006523/0.01022, allocations: 442.7 kB / 481.4 MB, free: 10.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.01026, allocations: 135.2 kB / 481.5 MB, free: 10.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.01066, allocations: 270.5 kB / 481.8 MB, free: 26.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.01068, allocations: 26.52 kB / 481.8 MB, free: 26.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.01079, allocations: 169.1 kB / 482 MB, free: 26.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.01083, allocations: 48.61 kB / 482 MB, free: 26.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.589e-05/0.0109, allocations: 41.77 kB / 482.1 MB, free: 26.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.01108, allocations: 331.8 kB / 482.4 MB, free: 26.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.01125, allocations: 122.6 kB / 482.5 MB, free: 26.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.01143, allocations: 214.2 kB / 482.7 MB, free: 25.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.01172, allocations: 245.7 kB / 483 MB, free: 25.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.01172, allocations: 0 / 483 MB, free: 25.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000524/0.01225, allocations: 382.6 kB / 483.3 MB, free: 25.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.01229, allocations: 36.64 kB / 483.4 MB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.0123, allocations: 2.094 kB / 483.4 MB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.01232, allocations: 5.25 kB / 483.4 MB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01244, allocations: 25.17 kB / 483.4 MB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.01245, allocations: 2.469 kB / 483.4 MB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.01256, allocations: 26.14 kB / 483.4 MB, free: 25.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.01258, allocations: 8.906 kB / 483.5 MB, free: 25.49 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.0001729/0.01275, allocations: 185.7 kB / 483.6 MB, free: 25.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.01281, allocations: 35.61 kB / 483.7 MB, free: 25.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.01285, allocations: 29.27 kB / 483.7 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01285, allocations: 0 / 483.7 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01286, allocations: 4.438 kB / 483.7 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.01286, allocations: 2.688 kB / 483.7 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.01305, allocations: 203.6 kB / 483.9 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01305, allocations: 0 / 483.9 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.657e-05/0.01314, allocations: 17.84 kB / 483.9 MB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.01315, allocations: 3.938 kB / 483.9 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.01316, allocations: 7.203 kB / 483.9 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01316, allocations: 6.125 kB / 483.9 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01317, allocations: 1.719 kB / 483.9 MB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.01389, allocations: 0.5324 MB / 484.5 MB, free: 24.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.01391, allocations: 29.05 kB / 484.5 MB, free: 24.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.01395, allocations: 8.281 kB / 484.5 MB, free: 24.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.01405, allocations: 12.17 kB / 484.5 MB, free: 24.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.01414, allocations: 26.48 kB / 484.5 MB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.01416, allocations: 4.469 kB / 484.6 MB, free: 24.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.01432, allocations: 193.5 kB / 484.7 MB, free: 24.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01432, allocations: 0 / 484.7 MB, free: 24.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.0146, allocations: 65.73 kB / 484.8 MB, free: 24.68 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.0003206/0.01492, allocations: 135 kB / 484.9 MB, free: 24.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004823/0.0154, allocations: 324.3 kB / 485.3 MB, free: 24.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0154, allocations: 0 / 485.3 MB, free: 24.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.01563, allocations: 191.3 kB / 485.4 MB, free: 24.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.01595, allocations: 41.88 kB / 485.5 MB, free: 24.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/0.01668, allocations: 492.2 kB / 486 MB, free: 23.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.0168, allocations: 145.2 kB / 486.1 MB, free: 23.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.742e-05/0.01688, allocations: 16.81 kB / 486.1 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.01693, allocations: 25.56 kB / 486.1 MB, free: 23.87 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01693, allocations: 1.156 kB / 486.1 MB, free: 23.87 MB / 426.7 MB Notification: Performance of Templates: time 0.006143/0.02307, allocations: 2.895 MB / 489 MB, free: 23.68 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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.324245669995435]