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.001347/0.001347, allocations: 88.23 kB / 20.45 MB, free: 4.113 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.001465/0.001465, allocations: 161 kB / 23.82 MB, free: 0.7461 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 0.8706/0.8706, allocations: 177.2 MB / 204.2 MB, free: 5.641 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.5383/0.5383, allocations: 110.2 MB / 371 MB, free: 12.54 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.663e-06/1.663e-06, allocations: 0 / 475.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.496e-05, allocations: 2.312 kB / 475.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003066/0.003081, allocations: 4.009 MB / 479.2 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.0044, allocations: 1.359 MB / 480.5 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.004614, allocations: 28.31 kB / 480.5 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.004847, allocations: 125.5 kB / 480.7 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.005045, allocations: 196.5 kB / 480.9 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.005498, allocations: 409.7 kB / 481.3 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.005996, allocations: 0.9837 MB / 482.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.006282, allocations: 287.2 kB / 482.5 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.006586, allocations: 0.4975 MB / 483 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.006765, allocations: 235.2 kB / 483.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.006842, allocations: 88.72 kB / 483.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.295e-05/0.006915, allocations: 87 kB / 483.4 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.006979, allocations: 181.8 kB / 483.6 MB, free: 9.969 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.007121, allocations: 251.6 kB / 483.8 MB, free: 9.836 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.007479, allocations: 0.5665 MB / 484.4 MB, free: 9.496 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.007481, allocations: 3.938 kB / 484.4 MB, free: 9.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.007481, allocations: 3.469 kB / 484.4 MB, free: 9.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.007488, allocations: 0 / 484.4 MB, free: 9.492 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.001011/0.008498, allocations: 1.147 MB / 485.6 MB, free: 24.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.008528, allocations: 9.719 kB / 485.6 MB, free: 24.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.008649, allocations: 135.9 kB / 485.7 MB, free: 24.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.009094, allocations: 0.5323 MB / 486.2 MB, free: 24.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.00912, allocations: 44.92 kB / 486.3 MB, free: 24.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.00918, allocations: 64.62 kB / 486.3 MB, free: 24.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.009698, allocations: 0.5208 MB / 486.9 MB, free: 23.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.009714, allocations: 4.125 kB / 486.9 MB, free: 23.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.009746, allocations: 27.41 kB / 486.9 MB, free: 23.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.009762, allocations: 18.81 kB / 486.9 MB, free: 23.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.0101, allocations: 222.7 kB / 487.1 MB, free: 23.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.0115, allocations: 1.809 MB / 488.9 MB, free: 22.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.01186, allocations: 270.1 kB / 489.2 MB, free: 22.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.01201, allocations: 126.5 kB / 489.3 MB, free: 22.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.01204, allocations: 8.438 kB / 489.3 MB, free: 22.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.01224, allocations: 181.4 kB / 489.5 MB, free: 22.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 1.663e-06/0.01224, allocations: 0 / 489.5 MB, free: 22.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.000498/0.01274, allocations: 388.6 kB / 489.9 MB, free: 22.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.01276, allocations: 64.94 kB / 490 MB, free: 22.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.01303, allocations: 444.3 kB / 490.4 MB, free: 21.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.01305, allocations: 33.27 kB / 490.4 MB, free: 21.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.01319, allocations: 382.5 kB / 490.8 MB, free: 21.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.01325, allocations: 172.1 kB / 491 MB, free: 21.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.75e-05/0.01334, allocations: 103.7 kB / 491.1 MB, free: 21.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.01346, allocations: 0.5325 MB / 491.6 MB, free: 20.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.01359, allocations: 99.66 kB / 491.7 MB, free: 20.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.01375, allocations: 209.7 kB / 491.9 MB, free: 20.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.01402, allocations: 305.1 kB / 492.2 MB, free: 20.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01402, allocations: 1.219 kB / 492.2 MB, free: 20.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004131/0.01443, allocations: 452.3 kB / 492.6 MB, free: 20.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.01446, allocations: 36.52 kB / 492.7 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01446, allocations: 3.25 kB / 492.7 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.01448, allocations: 4.531 kB / 492.7 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.01475, allocations: 108.3 kB / 492.8 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.01475, allocations: 13.03 kB / 492.8 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.01488, allocations: 51.52 kB / 492.9 MB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.0149, allocations: 21.97 kB / 492.9 MB, free: 20.18 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.0001183/0.01502, allocations: 189.9 kB / 493.1 MB, free: 20 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.01507, allocations: 70.33 kB / 493.1 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.01513, allocations: 65.67 kB / 493.2 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01513, allocations: 10.33 kB / 493.2 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.01514, allocations: 5.312 kB / 493.2 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.01514, allocations: 3.234 kB / 493.2 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007347/0.01588, allocations: 0.8633 MB / 494.1 MB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01588, allocations: 1.406 kB / 494.1 MB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.01611, allocations: 95.38 kB / 494.2 MB, free: 19.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01612, allocations: 2.375 kB / 494.2 MB, free: 19.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.01614, allocations: 15.45 kB / 494.2 MB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01614, allocations: 1.562 kB / 494.2 MB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01614, allocations: 0.5938 kB / 494.2 MB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.01666, allocations: 0.5552 MB / 494.7 MB, free: 19.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.01675, allocations: 88.58 kB / 494.8 MB, free: 19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.01679, allocations: 20.41 kB / 494.9 MB, free: 18.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.0169, allocations: 16.16 kB / 494.9 MB, free: 18.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.01696, allocations: 40.52 kB / 494.9 MB, free: 18.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.01698, allocations: 16.16 kB / 494.9 MB, free: 18.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001824/0.01716, allocations: 290 kB / 495.2 MB, free: 18.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01717, allocations: 1.656 kB / 495.2 MB, free: 18.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000261/0.01743, allocations: 149.2 kB / 495.4 MB, free: 18.77 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 7.319e-05/0.0175, allocations: 112.2 kB / 495.5 MB, free: 18.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.01786, allocations: 347 kB / 495.8 MB, free: 18.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01786, allocations: 0 / 495.8 MB, free: 18.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.01802, allocations: 143 kB / 495.9 MB, free: 18.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.01843, allocations: 159.4 kB / 496.1 MB, free: 18.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.01984, allocations: 1.172 MB / 497.3 MB, free: 17.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.098e-05/0.01991, allocations: 132.4 kB / 497.4 MB, free: 17.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.02005, allocations: 57.73 kB / 497.5 MB, free: 17.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.02014, allocations: 41.83 kB / 497.5 MB, free: 17.71 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02014, allocations: 1.438 kB / 497.5 MB, free: 17.71 MB / 426.7 MB Notification: Performance of Templates: time 0.009211/0.02935, allocations: 6.136 MB / 0.4918 GB, free: 16.97 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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1284633530303836]