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.00185/0.00185, allocations: 87.67 kB / 20.23 MB, free: 4.191 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.001976/0.001976, allocations: 161.6 kB / 23.55 MB, free: 0.8789 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 1.539/1.539, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.9652/0.9652, allocations: 110.3 MB / 370.6 MB, free: 12.46 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.283e-06/1.283e-06, allocations: 0 / 474.4 MB, free: 15.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.443e-05, allocations: 4.844 kB / 474.4 MB, free: 15.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004105/0.004129, allocations: 3.95 MB / 478.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.006112, allocations: 1.347 MB / 479.7 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.006424, allocations: 29.34 kB / 479.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.006708, allocations: 132.9 kB / 479.9 MB, free: 11.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.007008, allocations: 188.1 kB / 480.1 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.00763, allocations: 421.1 kB / 480.5 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000627/0.008257, allocations: 0.9765 MB / 481.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.008628, allocations: 285 kB / 481.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.009051, allocations: 0.5026 MB / 482.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.009302, allocations: 241.8 kB / 482.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.009413, allocations: 89.66 kB / 482.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.009528, allocations: 90.38 kB / 482.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.009632, allocations: 186.2 kB / 482.8 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.009826, allocations: 251.2 kB / 483.1 MB, free: 9.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008078/0.01063, allocations: 1.14 MB / 484.2 MB, free: 9.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01064, allocations: 0 / 484.2 MB, free: 9.457 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01064, allocations: 2.438 kB / 484.2 MB, free: 9.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.01065, allocations: 0.5 kB / 484.2 MB, free: 9.457 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.001625/0.01227, allocations: 1.281 MB / 485.5 MB, free: 8.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.01231, allocations: 9.875 kB / 485.5 MB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.01248, allocations: 135.1 kB / 485.6 MB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007191/0.0132, allocations: 0.5282 MB / 486.2 MB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.01324, allocations: 49.86 kB / 486.2 MB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-05/0.01332, allocations: 64 kB / 486.3 MB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009408/0.01426, allocations: 0.6934 MB / 487 MB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.01428, allocations: 1.5 kB / 487 MB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.01433, allocations: 25.53 kB / 487 MB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.01435, allocations: 19.16 kB / 487 MB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008405/0.01519, allocations: 430.7 kB / 487.4 MB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.01792, allocations: 2.189 MB / 489.6 MB, free: 22.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007379/0.01866, allocations: 432.3 kB / 490 MB, free: 21.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.01901, allocations: 228.4 kB / 490.3 MB, free: 21.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.01906, allocations: 8.656 kB / 490.3 MB, free: 21.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004315/0.01949, allocations: 272.1 kB / 490.5 MB, free: 21.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 2.244e-06/0.01949, allocations: 0 / 490.5 MB, free: 21.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.001069/0.02056, allocations: 0.5675 MB / 491.1 MB, free: 21.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.02059, allocations: 65.34 kB / 491.2 MB, free: 21.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.02113, allocations: 0.5981 MB / 491.8 MB, free: 21.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.02116, allocations: 36.42 kB / 491.8 MB, free: 21.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.02138, allocations: 418.1 kB / 492.2 MB, free: 20.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.618e-05/0.02148, allocations: 195.5 kB / 492.4 MB, free: 20.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.02162, allocations: 125.6 kB / 492.5 MB, free: 20.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005642/0.02219, allocations: 0.5805 MB / 493.1 MB, free: 19.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.02251, allocations: 186.1 kB / 493.3 MB, free: 19.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.02287, allocations: 311.5 kB / 493.6 MB, free: 19.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.02353, allocations: 493.8 kB / 494.1 MB, free: 19.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.02354, allocations: 0 / 494.1 MB, free: 19.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009202/0.02446, allocations: 0.5978 MB / 494.7 MB, free: 19.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.02449, allocations: 36.8 kB / 494.7 MB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.0245, allocations: 5.656 kB / 494.7 MB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.02452, allocations: 5.031 kB / 494.7 MB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.02499, allocations: 109.6 kB / 494.8 MB, free: 19.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.025, allocations: 12.25 kB / 494.8 MB, free: 19.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.02527, allocations: 46.98 kB / 494.9 MB, free: 18.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.0253, allocations: 19.88 kB / 494.9 MB, free: 18.99 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.000258/0.02556, allocations: 256.7 kB / 495.2 MB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.02564, allocations: 72.3 kB / 495.2 MB, free: 18.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.02577, allocations: 63.77 kB / 495.3 MB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.02578, allocations: 5.344 kB / 495.3 MB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.02578, allocations: 4.875 kB / 495.3 MB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.02579, allocations: 8.516 kB / 495.3 MB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.02741, allocations: 1.179 MB / 496.5 MB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.02741, allocations: 0 / 496.5 MB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.02787, allocations: 90.36 kB / 496.6 MB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.02787, allocations: 4.359 kB / 496.6 MB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.02791, allocations: 14.5 kB / 496.6 MB, free: 17.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.02791, allocations: 2.156 kB / 496.6 MB, free: 17.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.02791, allocations: 6.219 kB / 496.6 MB, free: 17.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.02938, allocations: 0.8085 MB / 497.4 MB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.02956, allocations: 91.16 kB / 497.5 MB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.302e-05/0.02963, allocations: 15.91 kB / 497.5 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.02989, allocations: 20.91 kB / 497.5 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.03001, allocations: 38.83 kB / 497.6 MB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.03004, allocations: 9.406 kB / 497.6 MB, free: 17.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004692/0.03051, allocations: 381.3 kB / 498 MB, free: 17.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03051, allocations: 4.625 kB / 498 MB, free: 17.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004919/0.03101, allocations: 141.6 kB / 498.1 MB, free: 17.2 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 0.0001695/0.03117, allocations: 120.2 kB / 498.2 MB, free: 17.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008603/0.03204, allocations: 0.502 MB / 498.7 MB, free: 16.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.03204, allocations: 1.906 kB / 498.7 MB, free: 16.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.03241, allocations: 230.2 kB / 498.9 MB, free: 16.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/0.03315, allocations: 154.8 kB / 499.1 MB, free: 16.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.03564, allocations: 1.265 MB / 0.4886 GB, free: 16.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.03599, allocations: 292.8 kB / 0.4889 GB, free: 15.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002539/0.03625, allocations: 64.8 kB / 0.489 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.03639, allocations: 45.77 kB / 0.489 GB, free: 15.91 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03639, allocations: 1.062 kB / 0.489 GB, free: 15.91 MB / 426.7 MB Notification: Performance of Templates: time 0.01324/0.04964, allocations: 5.829 MB / 0.4947 GB, free: 14.23 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: 5.798010981990956]