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.0009288/0.0009288, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001014/0.001014, allocations: 164.8 kB / 24.87 MB, free: 8.867 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.8974/0.8974, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.5432/0.5432, allocations: 110.3 MB / 372.1 MB, free: 12.36 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.213e-06/1.213e-06, allocations: 0 / 476.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.649e-05, allocations: 4.5 kB / 476.4 MB, free: 15.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003067/0.003084, allocations: 3.91 MB / 480.3 MB, free: 12.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.004805, allocations: 1.346 MB / 481.6 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.005107, allocations: 32.19 kB / 481.7 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.005339, allocations: 130.5 kB / 481.8 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.005568, allocations: 193 kB / 482 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.006075, allocations: 413.3 kB / 482.4 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000554/0.006629, allocations: 0.9841 MB / 483.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.006939, allocations: 287.3 kB / 483.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.007281, allocations: 0.4981 MB / 484.2 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.007462, allocations: 239 kB / 484.4 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.007534, allocations: 90.28 kB / 484.5 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-05/0.007613, allocations: 85.78 kB / 484.6 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.007676, allocations: 178.6 kB / 484.7 MB, free: 9.816 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.007814, allocations: 248.1 kB / 485 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.008177, allocations: 0.5701 MB / 485.5 MB, free: 9.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-06/0.008179, allocations: 5.031 kB / 485.6 MB, free: 9.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.008179, allocations: 0 / 485.6 MB, free: 9.344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.008185, allocations: 0 / 485.6 MB, free: 9.344 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.0008432/0.009028, allocations: 1.157 MB / 486.7 MB, free: 8.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.263e-05/0.009051, allocations: 10.56 kB / 486.7 MB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.009167, allocations: 134.2 kB / 486.9 MB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.009586, allocations: 0.5333 MB / 487.4 MB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.009613, allocations: 46.72 kB / 487.4 MB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.009673, allocations: 59.97 kB / 487.5 MB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.01011, allocations: 0.4883 MB / 488 MB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.01012, allocations: 1.438 kB / 488 MB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.01015, allocations: 22.06 kB / 488 MB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.01016, allocations: 23.17 kB / 488 MB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.01039, allocations: 184.2 kB / 488.2 MB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.0118, allocations: 1.721 MB / 489.9 MB, free: 22.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.01207, allocations: 250.2 kB / 490.2 MB, free: 22.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.01218, allocations: 108.5 kB / 490.3 MB, free: 22.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.0122, allocations: 8.562 kB / 490.3 MB, free: 22.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.01235, allocations: 173.7 kB / 490.5 MB, free: 22.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 1.332e-06/0.01235, allocations: 0.625 kB / 490.5 MB, free: 22.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.000371/0.01272, allocations: 340.2 kB / 490.8 MB, free: 22.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.64e-05/0.01274, allocations: 60.53 kB / 490.8 MB, free: 22.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.01297, allocations: 438 kB / 491.3 MB, free: 21.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.01299, allocations: 36.05 kB / 491.3 MB, free: 21.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.01312, allocations: 383 kB / 491.7 MB, free: 21.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.01319, allocations: 171 kB / 491.8 MB, free: 21.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/0.01327, allocations: 111 kB / 492 MB, free: 21.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.0134, allocations: 0.5353 MB / 492.5 MB, free: 20.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.01349, allocations: 88.86 kB / 492.6 MB, free: 20.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.01361, allocations: 201.5 kB / 492.8 MB, free: 20.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.01381, allocations: 275.9 kB / 493 MB, free: 20.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01381, allocations: 2.625 kB / 493 MB, free: 20.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003397/0.01415, allocations: 411.2 kB / 493.4 MB, free: 20.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.01417, allocations: 35.34 kB / 493.5 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01417, allocations: 2.875 kB / 493.5 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.01418, allocations: 4.812 kB / 493.5 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.01443, allocations: 116.7 kB / 493.6 MB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.01443, allocations: 4.781 kB / 493.6 MB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.01457, allocations: 55.8 kB / 493.7 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.01458, allocations: 13.97 kB / 493.7 MB, free: 20.16 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 (conNoRes.conPID.I.trigger_internal,conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0001184/0.0147, allocations: 185.3 kB / 493.9 MB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.01476, allocations: 73.02 kB / 493.9 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.01481, allocations: 65.75 kB / 494 MB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01482, allocations: 4.125 kB / 494 MB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01482, allocations: 1.188 kB / 494 MB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.01483, allocations: 4.906 kB / 494 MB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.01547, allocations: 0.7684 MB / 494.8 MB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01548, allocations: 1.188 kB / 494.8 MB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.01571, allocations: 91.2 kB / 494.9 MB, free: 19.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01571, allocations: 6.859 kB / 494.9 MB, free: 19.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.01573, allocations: 10.84 kB / 494.9 MB, free: 19.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.01573, allocations: 6.281 kB / 494.9 MB, free: 19.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01573, allocations: 5.281 kB / 494.9 MB, free: 19.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.01616, allocations: 0.5177 MB / 495.4 MB, free: 19.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.01625, allocations: 89 kB / 495.5 MB, free: 19.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.01628, allocations: 10.84 kB / 495.5 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.0164, allocations: 20.67 kB / 495.5 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.01645, allocations: 36.89 kB / 495.6 MB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.01646, allocations: 14.08 kB / 495.6 MB, free: 19.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001455/0.01661, allocations: 275.5 kB / 495.8 MB, free: 18.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01661, allocations: 1.656 kB / 495.8 MB, free: 18.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.01688, allocations: 153.2 kB / 496 MB, free: 18.83 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.935e-05/0.01696, allocations: 113.8 kB / 496.1 MB, free: 18.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.01725, allocations: 311.7 kB / 496.4 MB, free: 18.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01725, allocations: 1.156 kB / 496.4 MB, free: 18.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.01739, allocations: 131 kB / 496.5 MB, free: 18.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.01779, allocations: 162.8 kB / 496.7 MB, free: 18.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.01916, allocations: 1.165 MB / 497.9 MB, free: 17.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.617e-05/0.01923, allocations: 135 kB / 498 MB, free: 17.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.0194, allocations: 60.52 kB / 498.1 MB, free: 17.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.01963, allocations: 184.5 kB / 498.2 MB, free: 17.73 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01963, allocations: 0 / 498.2 MB, free: 17.73 MB / 426.7 MB Notification: Performance of Templates: time 0.01039/0.03002, allocations: 6.47 MB / 0.4929 GB, free: 16.89 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.3112499290145934]