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.001037/0.001037, allocations: 79.73 kB / 20.75 MB, free: 3.738 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.001106/0.001106, allocations: 169 kB / 24.17 MB, free: 332 kB / 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 0.9955/0.9955, allocations: 177.2 MB / 204.6 MB, free: 5.457 MB / 186.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.589/0.589, allocations: 110.3 MB / 371.3 MB, free: 12.3 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 1.843e-06/1.843e-06, allocations: 0 / 422.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.511e-05, allocations: 2.312 kB / 422.3 MB, free: 9.395 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005498/0.005523, allocations: 3.923 MB / 426.3 MB, free: 5.445 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.008603, allocations: 1.394 MB / 427.7 MB, free: 4.043 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004065/0.00901, allocations: 35.75 kB / 427.7 MB, free: 4.008 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.00937, allocations: 122.8 kB / 427.8 MB, free: 3.887 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.009795, allocations: 194.2 kB / 428 MB, free: 3.695 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.01095, allocations: 419.3 kB / 428.4 MB, free: 3.285 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.01204, allocations: 0.9668 MB / 429.4 MB, free: 2.316 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005311/0.01257, allocations: 302.6 kB / 429.7 MB, free: 1.992 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006553/0.01323, allocations: 0.5066 MB / 430.2 MB, free: 1.484 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.01356, allocations: 231.2 kB / 430.4 MB, free: 1.258 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.01368, allocations: 88 kB / 430.5 MB, free: 1.172 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.01378, allocations: 88 kB / 430.6 MB, free: 1.086 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.01391, allocations: 179.3 kB / 430.8 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.01416, allocations: 247.4 kB / 431 MB, free: 0.668 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.01459, allocations: 0.5681 MB / 431.6 MB, free: 100 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01459, allocations: 11.94 kB / 431.6 MB, free: 88 kB / 394.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01459, allocations: 0 / 431.6 MB, free: 88 kB / 394.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.0146, allocations: 0 / 431.6 MB, free: 88 kB / 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.0009675/0.01557, allocations: 0.9684 MB / 432.5 MB, free: 15.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.01559, allocations: 8.031 kB / 432.6 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.0157, allocations: 104.8 kB / 432.7 MB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.01615, allocations: 421.3 kB / 433.1 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.01618, allocations: 45.69 kB / 433.1 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.01624, allocations: 56.38 kB / 433.2 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.01666, allocations: 493.9 kB / 433.6 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.01668, allocations: 4.172 kB / 433.7 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.01671, allocations: 28.36 kB / 433.7 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.01672, allocations: 15.94 kB / 433.7 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.01692, allocations: 166.3 kB / 433.9 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.01823, allocations: 1.286 MB / 435.1 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.01874, allocations: 221.6 kB / 435.4 MB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.216e-05/0.01883, allocations: 90.31 kB / 435.5 MB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.01886, allocations: 8.5 kB / 435.5 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.01903, allocations: 178.1 kB / 435.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 1.713e-06/0.01903, allocations: 0 / 435.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.0003033/0.01933, allocations: 258.1 kB / 435.9 MB, free: 11.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.01937, allocations: 67.83 kB / 436 MB, free: 11.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.01958, allocations: 375.2 kB / 436.3 MB, free: 11.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.0196, allocations: 41.69 kB / 436.4 MB, free: 11.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.01971, allocations: 274.1 kB / 436.6 MB, free: 10.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.819e-05/0.01979, allocations: 170.5 kB / 436.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.392e-05/0.01988, allocations: 94.3 kB / 436.9 MB, free: 10.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.01997, allocations: 374.6 kB / 437.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.02005, allocations: 78.98 kB / 437.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.02015, allocations: 164.4 kB / 437.5 MB, free: 9.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.02035, allocations: 255.1 kB / 437.7 MB, free: 9.629 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02035, allocations: 0 / 437.7 MB, free: 9.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002675/0.02062, allocations: 333.7 kB / 438.1 MB, free: 9.281 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.02065, allocations: 29.7 kB / 438.1 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.02065, allocations: 4 kB / 438.1 MB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.02067, allocations: 4 kB / 438.1 MB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.0209, allocations: 115.8 kB / 438.2 MB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.02091, allocations: 4 kB / 438.2 MB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.02103, allocations: 59.84 kB / 438.3 MB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.02105, allocations: 12 kB / 438.3 MB, free: 9.051 MB / 410.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.0001137/0.02117, allocations: 149.6 kB / 438.4 MB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.02121, allocations: 47.95 kB / 438.5 MB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.02127, allocations: 57.45 kB / 438.5 MB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.02127, allocations: 4 kB / 438.5 MB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.02128, allocations: 4 kB / 438.5 MB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.02128, allocations: 3.984 kB / 438.5 MB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.02184, allocations: 0.5913 MB / 439.1 MB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.02184, allocations: 0 / 439.1 MB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.02206, allocations: 91.89 kB / 439.2 MB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.02206, allocations: 0 / 439.2 MB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.02208, allocations: 11.98 kB / 439.2 MB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.02208, allocations: 4 kB / 439.2 MB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02208, allocations: 0 / 439.2 MB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.02242, allocations: 406.7 kB / 439.6 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.02251, allocations: 67.48 kB / 439.7 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.02254, allocations: 12 kB / 439.7 MB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.02264, allocations: 15.98 kB / 439.7 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.0227, allocations: 44.36 kB / 439.8 MB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.02271, allocations: 8 kB / 439.8 MB, free: 7.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.02282, allocations: 160.7 kB / 439.9 MB, free: 7.344 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.02282, allocations: 0 / 439.9 MB, free: 7.344 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.02307, allocations: 143.6 kB / 440.1 MB, free: 7.203 MB / 410.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.819e-05/0.02316, allocations: 96.34 kB / 440.2 MB, free: 7.102 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.02343, allocations: 297.5 kB / 440.5 MB, free: 6.789 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.02344, allocations: 4 kB / 440.5 MB, free: 6.785 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.02355, allocations: 124.6 kB / 440.6 MB, free: 6.664 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.02389, allocations: 162 kB / 440.8 MB, free: 6.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.02524, allocations: 1.1 MB / 441.9 MB, free: 5.375 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.042e-05/0.02532, allocations: 137.9 kB / 442 MB, free: 5.215 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.02548, allocations: 56.55 kB / 442 MB, free: 5.156 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.02568, allocations: 165.3 kB / 442.2 MB, free: 4.996 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02568, allocations: 0 / 442.2 MB, free: 4.996 MB / 410.7 MB Notification: Performance of Templates: time 0.1533/0.179, allocations: 6.247 MB / 448.4 MB, free: 33.68 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.2873331257142127]