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.001542/0.001542, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001741/0.001741, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.793 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.8833/0.8833, allocations: 145 MB / 457.4 MB, free: 15.3 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.002329/0.002329, allocations: 67.95 kB / 0.6335 GB, free: 6.25 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1672, allocations: 87.89 MB / 0.7194 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005804/0.173, allocations: 3.726 MB / 0.723 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002835/0.1759, allocations: 1.332 MB / 0.7243 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006177/0.1765, allocations: 27.81 kB / 0.7243 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.1771, allocations: 126.7 kB / 0.7245 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.1777, allocations: 182.4 kB / 0.7246 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1788, allocations: 422.1 kB / 0.725 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.18, allocations: 0.9437 MB / 0.726 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005005/0.1806, allocations: 298.6 kB / 0.7262 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.181, allocations: 342.7 kB / 0.7266 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.1813, allocations: 298.4 kB / 0.7269 GB, free: 6.645 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.1814, allocations: 92 kB / 0.7269 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1816, allocations: 88 kB / 0.727 GB, free: 6.469 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.1817, allocations: 175.4 kB / 0.7272 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.182, allocations: 302.5 kB / 0.7275 GB, free: 6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1832, allocations: 1.136 MB / 0.7286 GB, free: 4.859 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1832, allocations: 0 / 0.7286 GB, free: 4.859 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1832, allocations: 0 / 0.7286 GB, free: 4.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.1833, allocations: 0 / 0.7286 GB, free: 4.859 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.001923/0.1852, allocations: 1.076 MB / 0.7296 GB, free: 3.738 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1852, allocations: 16.02 kB / 0.7297 GB, free: 3.723 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.1854, allocations: 88.38 kB / 0.7297 GB, free: 3.637 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.1864, allocations: 0.5038 MB / 0.7302 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.1864, allocations: 45.69 kB / 0.7303 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1865, allocations: 60.33 kB / 0.7303 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.1877, allocations: 0.658 MB / 0.731 GB, free: 2.312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.1877, allocations: 8 kB / 0.731 GB, free: 2.305 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/0.1878, allocations: 20 kB / 0.731 GB, free: 2.285 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.1878, allocations: 20 kB / 0.731 GB, free: 2.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009925/0.1888, allocations: 453 kB / 0.7315 GB, free: 1.824 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/0.1915, allocations: 1.702 MB / 0.7331 GB, free: 72 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009209/0.1924, allocations: 421.5 kB / 0.7335 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/0.1929, allocations: 222.1 kB / 0.7337 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.1929, allocations: 4.438 kB / 0.7337 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00053/0.1934, allocations: 261.4 kB / 0.734 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.234e-06/0.1934, allocations: 0 / 0.734 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001317/0.1948, allocations: 0.5807 MB / 0.7345 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.1948, allocations: 63.78 kB / 0.7346 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.1953, allocations: 434.5 kB / 0.735 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.1953, allocations: 41.64 kB / 0.7351 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.1956, allocations: 324.9 kB / 0.7354 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.1958, allocations: 178.5 kB / 0.7355 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.1959, allocations: 94.28 kB / 0.7356 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1961, allocations: 366.8 kB / 0.736 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.1965, allocations: 194.9 kB / 0.7362 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.197, allocations: 280.4 kB / 0.7364 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008431/0.1978, allocations: 455 kB / 0.7369 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1978, allocations: 0 / 0.7369 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001103/0.1989, allocations: 0.5902 MB / 0.7374 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.199, allocations: 33.7 kB / 0.7375 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.199, allocations: 3.938 kB / 0.7375 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.199, allocations: 4 kB / 0.7375 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.1995, allocations: 115.8 kB / 0.7376 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1995, allocations: 4 kB / 0.7376 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.1998, allocations: 63.64 kB / 0.7377 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.1999, allocations: 24.22 kB / 0.7377 GB, free: 11.21 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.00029/0.2001, allocations: 213.9 kB / 0.7379 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.2002, allocations: 63.61 kB / 0.7379 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.2004, allocations: 61.39 kB / 0.738 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2004, allocations: 4 kB / 0.738 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2004, allocations: 0 / 0.738 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.2004, allocations: 3.984 kB / 0.738 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.2021, allocations: 1.002 MB / 0.739 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2021, allocations: 3.938 kB / 0.739 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004625/0.2026, allocations: 91.89 kB / 0.7391 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2026, allocations: 0 / 0.7391 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.2026, allocations: 15.98 kB / 0.7391 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2026, allocations: 4 kB / 0.7391 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2026, allocations: 0 / 0.7391 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.204, allocations: 0.7613 MB / 0.7398 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.2042, allocations: 95.52 kB / 0.7399 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.2042, allocations: 12 kB / 0.74 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.2045, allocations: 27.97 kB / 0.74 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.2046, allocations: 32.38 kB / 0.74 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.2046, allocations: 12 kB / 0.74 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003469/0.205, allocations: 303.1 kB / 0.7403 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.205, allocations: 0 / 0.7403 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004496/0.2054, allocations: 151.5 kB / 0.7405 GB, free: 8.32 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.0001397/0.2056, allocations: 113.7 kB / 0.7406 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009776/0.2066, allocations: 494.8 kB / 0.741 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2066, allocations: 3.938 kB / 0.741 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.207, allocations: 198.4 kB / 0.7412 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.2077, allocations: 164.3 kB / 0.7414 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.2104, allocations: 1.349 MB / 0.7427 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.2107, allocations: 292.7 kB / 0.743 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002575/0.211, allocations: 56.56 kB / 0.743 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.2111, allocations: 51.36 kB / 0.7431 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.2111, allocations: 0 / 0.7431 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of Templates: time 0.2942/0.5053, allocations: 6.549 MB / 0.7495 GB, free: 30.14 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: 5.848376579582691] Failed to read output from testmodel.py, exit status != 0: 0.5133545566350222 0.525032955 0.338837708 Calling exit ...