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.0006694/0.0006694, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009456/0.001615, 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.00105/0.00105, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002398, 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.8999/0.8999, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07523/0.9751, allocations: 53.66 MB / 243.4 MB, free: 15.48 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.5347/0.5347, allocations: 110.3 MB / 354.4 MB, free: 12.28 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.0578/0.5925, allocations: 34.96 MB / 389.4 MB, free: 9.246 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.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 1.142e-06/1.142e-06, allocations: 0 / 390.7 MB, free: 7.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.312e-05, allocations: 2.312 kB / 390.7 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003381/0.003394, allocations: 3.986 MB / 394.7 MB, free: 3.945 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.005173, allocations: 1.413 MB / 396.1 MB, free: 2.523 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.005401, allocations: 31.75 kB / 396.1 MB, free: 2.492 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.005602, allocations: 130.7 kB / 396.3 MB, free: 2.363 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.005828, allocations: 198.2 kB / 396.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.006293, allocations: 415.3 kB / 396.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006439/0.006937, allocations: 0.9552 MB / 397.8 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.007245, allocations: 302.6 kB / 398.1 MB, free: 488 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004519/0.007696, allocations: 0.5626 MB / 398.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.00791, allocations: 235.2 kB / 398.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.357e-05/0.007983, allocations: 88 kB / 399 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.008054, allocations: 84 kB / 399.1 MB, free: 15.51 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/0.008134, allocations: 139.6 kB / 399.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.00827, allocations: 211.5 kB / 399.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.008657, allocations: 0.5252 MB / 399.9 MB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.008666, allocations: 4 kB / 400 MB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.008667, allocations: 0 / 400 MB, free: 14.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.008679, allocations: 0 / 400 MB, free: 14.64 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0009967/0.009676, allocations: 1.116 MB / 401.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.624e-05/0.009702, allocations: 16.02 kB / 401.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.841e-05/0.0098, allocations: 96.86 kB / 401.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.01023, allocations: 417.3 kB / 401.6 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.01025, allocations: 49.62 kB / 401.6 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.01031, allocations: 64.38 kB / 401.7 MB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.01071, allocations: 486 kB / 402.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.01073, allocations: 192 / 402.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.01076, allocations: 24.38 kB / 402.2 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.01077, allocations: 19.94 kB / 402.2 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.01096, allocations: 162.3 kB / 402.4 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.01221, allocations: 1.298 MB / 403.7 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.01246, allocations: 217.6 kB / 403.9 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.355e-05/0.01255, allocations: 106.2 kB / 404 MB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.01258, allocations: 8.5 kB / 404 MB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.01275, allocations: 158.2 kB / 404.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 1.422e-06/0.01275, allocations: 0 / 404.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.0002882/0.01304, allocations: 262 kB / 404.4 MB, free: 10.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.01307, allocations: 59.91 kB / 404.5 MB, free: 9.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.01327, allocations: 383.2 kB / 404.8 MB, free: 9.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.0133, allocations: 37.7 kB / 404.9 MB, free: 9.512 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.01341, allocations: 274 kB / 405.1 MB, free: 9.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.415e-05/0.01349, allocations: 178.5 kB / 405.3 MB, free: 9.062 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.01357, allocations: 94.3 kB / 405.4 MB, free: 8.965 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.01367, allocations: 374.6 kB / 405.8 MB, free: 8.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.01375, allocations: 74.98 kB / 405.9 MB, free: 8.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.01386, allocations: 172.3 kB / 406 MB, free: 8.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.01406, allocations: 259.1 kB / 406.3 MB, free: 8.023 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01406, allocations: 0 / 406.3 MB, free: 8.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002633/0.01432, allocations: 325.9 kB / 406.6 MB, free: 7.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.01435, allocations: 29.7 kB / 406.6 MB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.01435, allocations: 4 kB / 406.6 MB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.01437, allocations: 7.984 kB / 406.6 MB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.01467, allocations: 151.7 kB / 406.8 MB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01467, allocations: 4 kB / 406.8 MB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.01479, allocations: 47.72 kB / 406.8 MB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.01481, allocations: 16 kB / 406.8 MB, free: 7.426 MB / 394.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 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * 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.0001051/0.01491, allocations: 145.7 kB / 407 MB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.01496, allocations: 43.95 kB / 407 MB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.01502, allocations: 65.44 kB / 407.1 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01503, allocations: 8 kB / 407.1 MB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.01503, allocations: 3.938 kB / 407.1 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01504, allocations: 3.984 kB / 407.1 MB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005352/0.01557, allocations: 0.5758 MB / 407.7 MB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01557, allocations: 4 kB / 407.7 MB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.01583, allocations: 123.7 kB / 407.8 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.01591, allocations: 55.55 kB / 407.9 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.01591, allocations: 4 kB / 407.9 MB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.01593, allocations: 11.98 kB / 407.9 MB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.01593, allocations: 4 kB / 407.9 MB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01593, allocations: 0 / 407.9 MB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.01626, allocations: 414.7 kB / 408.3 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.0163, allocations: 12 kB / 408.3 MB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.0164, allocations: 23.98 kB / 408.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.01645, allocations: 36.44 kB / 408.4 MB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.01646, allocations: 11.98 kB / 408.4 MB, free: 5.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.01657, allocations: 160.7 kB / 408.5 MB, free: 5.688 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01657, allocations: 0 / 408.5 MB, free: 5.688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.0168, allocations: 143.6 kB / 408.7 MB, free: 5.547 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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 7.647e-05/0.01687, allocations: 104.3 kB / 408.8 MB, free: 5.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.01712, allocations: 310 kB / 409.1 MB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.01714, allocations: 8 kB / 409.1 MB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.01727, allocations: 149.6 kB / 409.2 MB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.01788, allocations: 1.164 MB / 410.4 MB, free: 3.574 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.02155, allocations: 1.146 MB / 411.5 MB, free: 2.387 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.322e-05/0.02163, allocations: 141.9 kB / 411.7 MB, free: 2.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.02178, allocations: 60.55 kB / 411.7 MB, free: 2.172 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.022, allocations: 165.3 kB / 411.9 MB, free: 2.008 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.022, allocations: 0 / 411.9 MB, free: 2.008 MB / 394.7 MB Notification: Performance of Templates: time 0.008356/0.03036, allocations: 6.548 MB / 418.4 MB, free: 11.48 MB / 410.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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9466319726780057]