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.001412/0.001412, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001862/0.001862, allocations: 215.9 kB / 23.01 MB, free: 4.566 MB / 14.72 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.348/1.348, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 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.847/0.847, allocations: 145 MB / 458.2 MB, free: 15.51 MB / 366.1 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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 66.83 kB / 0.6344 GB, free: 6.824 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1704, allocations: 87.89 MB / 0.7202 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005676/0.1761, allocations: 4.154 MB / 0.7242 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.1788, allocations: 1.367 MB / 0.7256 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005912/0.1794, allocations: 31.75 kB / 0.7256 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.1798, allocations: 130.7 kB / 0.7257 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004225/0.1802, allocations: 178.4 kB / 0.7259 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009111/0.1811, allocations: 440.7 kB / 0.7263 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009954/0.1821, allocations: 0.9477 MB / 0.7273 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004924/0.1826, allocations: 306.7 kB / 0.7275 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.183, allocations: 342.7 kB / 0.7279 GB, free: 7.023 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.1833, allocations: 338.4 kB / 0.7282 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.1834, allocations: 95.94 kB / 0.7283 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1835, allocations: 92 kB / 0.7284 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.1837, allocations: 175.5 kB / 0.7285 GB, free: 6.336 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.184, allocations: 394 kB / 0.7289 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.1851, allocations: 1.117 MB / 0.73 GB, free: 4.828 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1851, allocations: 0 / 0.73 GB, free: 4.828 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1851, allocations: 0 / 0.73 GB, free: 4.828 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.1851, allocations: 4 kB / 0.73 GB, free: 4.824 MB / 0.545 GB 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.001845/0.187, allocations: 1.072 MB / 0.7311 GB, free: 3.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.187, allocations: 8.031 kB / 0.7311 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.1871, allocations: 92.38 kB / 0.7312 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009153/0.1881, allocations: 0.5038 MB / 0.7316 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.1881, allocations: 45.69 kB / 0.7317 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.1882, allocations: 64.33 kB / 0.7318 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.1892, allocations: 0.6039 MB / 0.7323 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.1893, allocations: 4 kB / 0.7323 GB, free: 2.344 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-05/0.1893, allocations: 28 kB / 0.7324 GB, free: 2.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.1893, allocations: 16 kB / 0.7324 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.1903, allocations: 457 kB / 0.7328 GB, free: 1.855 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.1931, allocations: 1.951 MB / 0.7347 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009289/0.1941, allocations: 425 kB / 0.7351 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004334/0.1945, allocations: 222.1 kB / 0.7353 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.1945, allocations: 4.438 kB / 0.7353 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/0.1951, allocations: 257.3 kB / 0.7356 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.204e-06/0.1951, allocations: 3.938 kB / 0.7356 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001277/0.1963, allocations: 0.5924 MB / 0.7362 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.1964, allocations: 55.84 kB / 0.7362 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.1969, allocations: 450 kB / 0.7367 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.197, allocations: 29.7 kB / 0.7367 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.1972, allocations: 333.6 kB / 0.737 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.1974, allocations: 170.5 kB / 0.7372 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.1975, allocations: 98.28 kB / 0.7373 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.1977, allocations: 362.8 kB / 0.7376 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.1981, allocations: 169.2 kB / 0.7378 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.1985, allocations: 250.7 kB / 0.738 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000812/0.1993, allocations: 447 kB / 0.7384 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1994, allocations: 0 / 0.7384 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001046/0.2004, allocations: 0.5651 MB / 0.739 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.2004, allocations: 37.64 kB / 0.739 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2004, allocations: 4 kB / 0.739 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2005, allocations: 7.938 kB / 0.739 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.2009, allocations: 112.1 kB / 0.7391 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.201, allocations: 7.938 kB / 0.7391 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.2013, allocations: 63.64 kB / 0.7392 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.2013, allocations: 24 kB / 0.7392 GB, free: 11.07 MB / 0.5606 GB 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.0002589/0.2016, allocations: 208.6 kB / 0.7394 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.2016, allocations: 59.56 kB / 0.7395 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.2018, allocations: 61.59 kB / 0.7395 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2018, allocations: 8 kB / 0.7396 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2018, allocations: 0 / 0.7396 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.2018, allocations: 3.984 kB / 0.7396 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.2036, allocations: 1.15 MB / 0.7407 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2036, allocations: 0 / 0.7407 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.204, allocations: 95.88 kB / 0.7408 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.204, allocations: 4 kB / 0.7408 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.2041, allocations: 8 kB / 0.7408 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.2041, allocations: 4 kB / 0.7408 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2041, allocations: 0 / 0.7408 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.2054, allocations: 0.7652 MB / 0.7415 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.2056, allocations: 99.52 kB / 0.7416 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.2056, allocations: 11.98 kB / 0.7416 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.2059, allocations: 23.98 kB / 0.7417 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.206, allocations: 40.3 kB / 0.7417 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.206, allocations: 12 kB / 0.7417 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003436/0.2064, allocations: 306.9 kB / 0.742 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2064, allocations: 7.938 kB / 0.742 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000431/0.2068, allocations: 151.6 kB / 0.7422 GB, free: 8 MB / 0.5606 GB 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.000123/0.2069, allocations: 111.2 kB / 0.7423 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008993/0.2078, allocations: 461.1 kB / 0.7427 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.2078, allocations: 4 kB / 0.7427 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.2082, allocations: 206.3 kB / 0.7429 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.2089, allocations: 164.5 kB / 0.7431 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.2115, allocations: 1.393 MB / 0.7444 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.212, allocations: 0.8939 MB / 0.7453 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.2122, allocations: 47.44 kB / 0.7453 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2122, allocations: 0 / 0.7453 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.2937/0.5059, allocations: 7.666 MB / 0.7528 GB, free: 27.43 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.160304967081174] Failed to read output from testmodel.py, exit status != 0: 0.5133300051093102 0.52537147 0.337827513 Calling exit ...