Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.001483/0.001483, allocations: 84.39 kB / 20.23 MB, free: 4.199 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.002475/0.002475, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.494/1.494, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.9048/0.9048, allocations: 110.3 MB / 370.6 MB, free: 12.46 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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 474.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.914e-05, allocations: 4.688 kB / 474.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.007554/0.007583, allocations: 3.73 MB / 478.1 MB, free: 12.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.01129, allocations: 1.332 MB / 479.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007581/0.01205, allocations: 28.41 kB / 479.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.01265, allocations: 136.9 kB / 479.6 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007382/0.01339, allocations: 184.3 kB / 479.8 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.01476, allocations: 416.2 kB / 480.2 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.01613, allocations: 0.9829 MB / 481.2 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007293/0.01685, allocations: 291 kB / 481.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008749/0.01773, allocations: 0.4935 MB / 482 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.01822, allocations: 240.2 kB / 482.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.0184, allocations: 91.03 kB / 482.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.01861, allocations: 91.56 kB / 482.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.01877, allocations: 182.2 kB / 482.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.01918, allocations: 252.9 kB / 482.8 MB, free: 9.977 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.02062, allocations: 1.145 MB / 484 MB, free: 9.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.02062, allocations: 0.5312 kB / 484 MB, free: 9.523 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.02062, allocations: 2.812 kB / 484 MB, free: 9.523 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.612e-05/0.02066, allocations: 0 / 484 MB, free: 9.523 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003045/0.02371, allocations: 1.07 MB / 485 MB, free: 8.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.02375, allocations: 10.22 kB / 485.1 MB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.02408, allocations: 136.6 kB / 485.2 MB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.02551, allocations: 0.5243 MB / 485.7 MB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/0.02556, allocations: 45.66 kB / 485.8 MB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.02571, allocations: 60.56 kB / 485.8 MB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.02753, allocations: 0.6617 MB / 486.5 MB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.02757, allocations: 5.422 kB / 486.5 MB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.85e-05/0.02766, allocations: 25.03 kB / 486.5 MB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.02768, allocations: 14.22 kB / 486.5 MB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.02944, allocations: 462.9 kB / 487 MB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004365/0.0338, allocations: 1.715 MB / 488.7 MB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.03539, allocations: 423.9 kB / 489.1 MB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007466/0.03614, allocations: 229.8 kB / 489.3 MB, free: 6.457 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.122e-05/0.03619, allocations: 9 kB / 489.3 MB, free: 6.457 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008974/0.03709, allocations: 263.9 kB / 489.6 MB, free: 6.332 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 3.437e-06/0.03709, allocations: 1.969 kB / 489.6 MB, free: 6.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002353/0.03944, allocations: 0.5965 MB / 490.2 MB, free: 6.082 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.03948, allocations: 66.88 kB / 490.3 MB, free: 6.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009041/0.04039, allocations: 435.7 kB / 490.7 MB, free: 21.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.04044, allocations: 35.86 kB / 490.7 MB, free: 21.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.04076, allocations: 332.1 kB / 491 MB, free: 21.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.04092, allocations: 171.8 kB / 491.2 MB, free: 21.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.04115, allocations: 92.28 kB / 491.3 MB, free: 21.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003082/0.04146, allocations: 364.4 kB / 491.7 MB, free: 20.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007067/0.04216, allocations: 193.4 kB / 491.8 MB, free: 20.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/0.04291, allocations: 284.5 kB / 492.1 MB, free: 20.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.04431, allocations: 453 kB / 492.6 MB, free: 20.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.04432, allocations: 1.125 kB / 492.6 MB, free: 20.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001653/0.04597, allocations: 0.6111 MB / 493.2 MB, free: 20.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.046, allocations: 35.95 kB / 493.2 MB, free: 20.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.04601, allocations: 2.938 kB / 493.2 MB, free: 20.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.04604, allocations: 3.938 kB / 493.2 MB, free: 20.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.04658, allocations: 123.7 kB / 493.3 MB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.04659, allocations: 6.438 kB / 493.3 MB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.04694, allocations: 55.7 kB / 493.4 MB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.04699, allocations: 18.12 kB / 493.4 MB, free: 20.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002472/0.04724, allocations: 210.8 kB / 493.6 MB, free: 19.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.4e-05/0.04733, allocations: 70.69 kB / 493.7 MB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.04745, allocations: 64.89 kB / 493.8 MB, free: 19.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.04746, allocations: 6.125 kB / 493.8 MB, free: 19.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.04747, allocations: 5.125 kB / 493.8 MB, free: 19.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.04747, allocations: 2.953 kB / 493.8 MB, free: 19.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.04904, allocations: 1.002 MB / 494.8 MB, free: 19.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.04904, allocations: 0 / 494.8 MB, free: 19.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.04951, allocations: 94.34 kB / 494.9 MB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.04952, allocations: 3.844 kB / 494.9 MB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.04955, allocations: 17.7 kB / 494.9 MB, free: 19.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.04955, allocations: 2.188 kB / 494.9 MB, free: 19.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.04955, allocations: 1.062 kB / 494.9 MB, free: 19.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.05087, allocations: 0.7818 MB / 495.7 MB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.05103, allocations: 93.31 kB / 495.8 MB, free: 18.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.0511, allocations: 15.19 kB / 495.8 MB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.0514, allocations: 26.42 kB / 495.8 MB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.05149, allocations: 38.11 kB / 495.8 MB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.05152, allocations: 12.16 kB / 495.9 MB, free: 18.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003182/0.05183, allocations: 298.2 kB / 496.1 MB, free: 18.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05183, allocations: 0 / 496.1 MB, free: 18.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004689/0.0523, allocations: 145.8 kB / 496.3 MB, free: 18.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001227/0.05243, allocations: 113.4 kB / 496.4 MB, free: 18.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008859/0.05331, allocations: 489.3 kB / 496.9 MB, free: 18.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.05331, allocations: 1.75 kB / 496.9 MB, free: 18.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.0537, allocations: 208.6 kB / 497.1 MB, free: 18.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007397/0.05444, allocations: 152.2 kB / 497.2 MB, free: 18.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.05681, allocations: 1.273 MB / 498.5 MB, free: 17.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.05708, allocations: 293 kB / 498.8 MB, free: 17.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002543/0.05733, allocations: 63.38 kB / 498.8 MB, free: 17.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.05746, allocations: 42.91 kB / 498.9 MB, free: 17.26 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.05746, allocations: 0 / 498.9 MB, free: 17.26 MB / 426.7 MB Notification: Performance of Templates: time 0.01208/0.06954, allocations: 5.819 MB / 0.4929 GB, free: 16.28 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4916459820233285]