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.001051/0.001051, allocations: 76.17 kB / 9.932 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001553/0.002604, allocations: 449.7 kB / 10.37 MB, free: 324 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.0009514/0.0009514, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002235, allocations: 463.6 kB / 11.71 MB, free: 2.453 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 1.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1013/1.103, allocations: 53.65 MB / 243.3 MB, free: 15.61 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.6142/0.6142, allocations: 110.2 MB / 354.2 MB, free: 12.39 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.06161/0.6758, allocations: 34.95 MB / 389.2 MB, free: 9.363 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.843e-06/1.843e-06, allocations: 0 / 390.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.428e-05, allocations: 2.312 kB / 390.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003987/0.004011, allocations: 3.967 MB / 394.4 MB, free: 4.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.005862, allocations: 1.417 MB / 395.9 MB, free: 2.664 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.006125, allocations: 27.81 kB / 395.9 MB, free: 2.637 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.006357, allocations: 122.7 kB / 396 MB, free: 2.516 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.006597, allocations: 198.2 kB / 396.2 MB, free: 2.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005142/0.007111, allocations: 415.4 kB / 396.6 MB, free: 1.914 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006617/0.007773, allocations: 0.963 MB / 397.6 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.008101, allocations: 302.6 kB / 397.9 MB, free: 0.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.008577, allocations: 0.5586 MB / 398.4 MB, free: 68 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.00882, allocations: 239.1 kB / 398.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.008899, allocations: 88 kB / 398.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.507e-05/0.008974, allocations: 88 kB / 398.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.009061, allocations: 135.6 kB / 399 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.009217, allocations: 207.5 kB / 399.2 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.00964, allocations: 0.5253 MB / 399.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.009654, allocations: 0 / 399.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.009656, allocations: 0 / 399.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.00967, allocations: 0 / 399.7 MB, free: 14.8 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.001068/0.01074, allocations: 1.116 MB / 400.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.01077, allocations: 12.03 kB / 400.8 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.986e-05/0.01087, allocations: 104.8 kB / 400.9 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.01132, allocations: 417.3 kB / 401.3 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.01135, allocations: 49.69 kB / 401.4 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.01141, allocations: 56.38 kB / 401.4 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.01182, allocations: 493.9 kB / 401.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.01184, allocations: 192 / 401.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.01187, allocations: 28.36 kB / 401.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.01188, allocations: 19.94 kB / 402 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.01208, allocations: 166.3 kB / 402.1 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.01337, allocations: 1.283 MB / 403.4 MB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.01362, allocations: 229.5 kB / 403.6 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.01371, allocations: 98.3 kB / 403.7 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.01374, allocations: 8.5 kB / 403.7 MB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.01391, allocations: 170.1 kB / 403.9 MB, free: 10.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 1.503e-06/0.01391, allocations: 3.938 kB / 403.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.000306/0.01422, allocations: 254.1 kB / 404.2 MB, free: 10.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.01425, allocations: 63.89 kB / 404.2 MB, free: 10.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.01446, allocations: 383.2 kB / 404.6 MB, free: 9.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.01449, allocations: 33.64 kB / 404.6 MB, free: 9.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.01461, allocations: 282 kB / 404.9 MB, free: 9.379 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.531e-05/0.01469, allocations: 174.5 kB / 405.1 MB, free: 9.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.354e-05/0.01478, allocations: 94.28 kB / 405.2 MB, free: 9.109 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.01487, allocations: 378.6 kB / 405.5 MB, free: 8.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.01495, allocations: 78.98 kB / 405.6 MB, free: 8.648 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.01506, allocations: 160.4 kB / 405.8 MB, free: 8.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.01525, allocations: 251.1 kB / 406 MB, free: 8.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01525, allocations: 0 / 406 MB, free: 8.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002668/0.01552, allocations: 325.8 kB / 406.3 MB, free: 7.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.01555, allocations: 33.7 kB / 406.4 MB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.01556, allocations: 7.969 kB / 406.4 MB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.01557, allocations: 8 kB / 406.4 MB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.01588, allocations: 139.7 kB / 406.5 MB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01588, allocations: 8.25 kB / 406.5 MB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.016, allocations: 47.72 kB / 406.6 MB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.01602, allocations: 16 kB / 406.6 MB, free: 7.578 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.0001149/0.01613, allocations: 141.7 kB / 406.7 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.01618, allocations: 51.95 kB / 406.8 MB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.01625, allocations: 61.44 kB / 406.8 MB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01625, allocations: 4 kB / 406.8 MB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01625, allocations: 3.938 kB / 406.8 MB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01626, allocations: 7.984 kB / 406.8 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.01687, allocations: 0.5875 MB / 407.4 MB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01687, allocations: 0 / 407.4 MB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.01721, allocations: 115.9 kB / 407.5 MB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/0.01729, allocations: 55.55 kB / 407.6 MB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.0173, allocations: 0 / 407.6 MB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.01732, allocations: 19.98 kB / 407.6 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01732, allocations: 0 / 407.6 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01732, allocations: 0 / 407.6 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.01767, allocations: 418.6 kB / 408 MB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.0177, allocations: 12 kB / 408 MB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.01781, allocations: 19.98 kB / 408.1 MB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.01787, allocations: 36.44 kB / 408.1 MB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.01788, allocations: 11.98 kB / 408.1 MB, free: 6.004 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.01799, allocations: 160.7 kB / 408.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01799, allocations: 0 / 408.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000236/0.01822, allocations: 139.6 kB / 408.4 MB, free: 5.707 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 9.241e-05/0.01831, allocations: 108.3 kB / 408.5 MB, free: 5.594 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.01857, allocations: 297.5 kB / 408.8 MB, free: 5.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/0.01858, allocations: 11.98 kB / 408.8 MB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.01869, allocations: 120.6 kB / 408.9 MB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.01906, allocations: 194 kB / 409.1 MB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.02297, allocations: 1.138 MB / 410.3 MB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.736e-05/0.02306, allocations: 145.9 kB / 410.4 MB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.02322, allocations: 56.56 kB / 410.5 MB, free: 3.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.02344, allocations: 173.2 kB / 410.6 MB, free: 3.398 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02344, allocations: 0 / 410.6 MB, free: 3.398 MB / 394.7 MB Notification: Performance of Templates: time 0.008657/0.0321, allocations: 6.687 MB / 417.3 MB, free: 12.73 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: 3.233801545575261]