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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 97.69 kB / 19.59 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 192.3 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.1 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.8384/0.8384, allocations: 144.9 MB / 451.7 MB, free: 5.469 MB / 350.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002109/0.002109, allocations: 71.95 kB / 0.6256 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1649, allocations: 86.7 MB / 0.7103 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006029/0.171, allocations: 4.138 MB / 0.7143 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002833/0.1738, allocations: 1.336 MB / 0.7156 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.1744, allocations: 31.81 kB / 0.7156 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004638/0.1749, allocations: 126.7 kB / 0.7158 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005911/0.1755, allocations: 186.4 kB / 0.7159 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1765, allocations: 432.8 kB / 0.7164 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.1778, allocations: 0.9669 MB / 0.7173 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005919/0.1784, allocations: 302.6 kB / 0.7176 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.1789, allocations: 346.7 kB / 0.7179 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004772/0.1794, allocations: 338.4 kB / 0.7182 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.1795, allocations: 88 kB / 0.7183 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1797, allocations: 92 kB / 0.7184 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1798, allocations: 179.4 kB / 0.7186 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.1803, allocations: 390.1 kB / 0.719 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.1814, allocations: 1.117 MB / 0.72 GB, free: 14.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1814, allocations: 0 / 0.72 GB, free: 14.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1814, allocations: 4 kB / 0.7201 GB, free: 14.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.507e-05/0.1815, allocations: 0 / 0.7201 GB, free: 14.73 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.002233/0.1837, allocations: 1.08 MB / 0.7211 GB, free: 13.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1838, allocations: 12.03 kB / 0.7211 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.1839, allocations: 84.42 kB / 0.7212 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.1849, allocations: 0.5038 MB / 0.7217 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.185, allocations: 45.62 kB / 0.7217 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.1851, allocations: 56.38 kB / 0.7218 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.1862, allocations: 0.6117 MB / 0.7224 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1863, allocations: 0 / 0.7224 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/0.1863, allocations: 27.98 kB / 0.7224 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.1863, allocations: 12 kB / 0.7224 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.1873, allocations: 465 kB / 0.7229 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.1904, allocations: 1.939 MB / 0.7248 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009102/0.1913, allocations: 421.7 kB / 0.7252 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.1918, allocations: 222.1 kB / 0.7254 GB, free: 9.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.1918, allocations: 8.438 kB / 0.7254 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005336/0.1924, allocations: 261.3 kB / 0.7256 GB, free: 8.832 MB / 0.545 GB Notification: Performance of pre-optimization done (n=49): time 2.094e-06/0.1924, allocations: 4 kB / 0.7256 GB, free: 8.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=49): time 0.001354/0.1937, allocations: 0.5846 MB / 0.7262 GB, free: 8.234 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.1938, allocations: 59.84 kB / 0.7263 GB, free: 8.164 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005382/0.1943, allocations: 442 kB / 0.7267 GB, free: 7.723 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.1943, allocations: 41.69 kB / 0.7267 GB, free: 7.676 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.1946, allocations: 332.8 kB / 0.727 GB, free: 7.344 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.1948, allocations: 174.5 kB / 0.7272 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.1949, allocations: 90.34 kB / 0.7273 GB, free: 7.078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.1951, allocations: 366.8 kB / 0.7276 GB, free: 6.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/0.1955, allocations: 169.2 kB / 0.7278 GB, free: 6.547 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.196, allocations: 250.7 kB / 0.728 GB, free: 6.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/0.1968, allocations: 451 kB / 0.7285 GB, free: 5.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1968, allocations: 0 / 0.7285 GB, free: 5.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001109/0.1979, allocations: 0.5652 MB / 0.729 GB, free: 5.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.1979, allocations: 37.64 kB / 0.7291 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1979, allocations: 4 kB / 0.7291 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.198, allocations: 4 kB / 0.7291 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.1985, allocations: 115.8 kB / 0.7292 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.1985, allocations: 4 kB / 0.7292 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.1988, allocations: 63.59 kB / 0.7292 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.1988, allocations: 20.12 kB / 0.7293 GB, free: 4.973 MB / 0.545 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.000266/0.1991, allocations: 212.2 kB / 0.7295 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.1992, allocations: 59.61 kB / 0.7295 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.1993, allocations: 65.58 kB / 0.7296 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1993, allocations: 4 kB / 0.7296 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.1993, allocations: 0 / 0.7296 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1994, allocations: 3.984 kB / 0.7296 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.2012, allocations: 1.158 MB / 0.7307 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2012, allocations: 0 / 0.7307 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.2017, allocations: 91.89 kB / 0.7308 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.2017, allocations: 0 / 0.7308 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.2017, allocations: 19.97 kB / 0.7308 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2017, allocations: 4 kB / 0.7308 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2017, allocations: 0 / 0.7308 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.203, allocations: 0.7612 MB / 0.7316 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.2032, allocations: 95.58 kB / 0.7317 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/0.2033, allocations: 12 kB / 0.7317 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.2036, allocations: 23.97 kB / 0.7317 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2037, allocations: 40.38 kB / 0.7317 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.2037, allocations: 12 kB / 0.7318 GB, free: 2.348 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000353/0.204, allocations: 310.9 kB / 0.7321 GB, free: 2.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.204, allocations: 0 / 0.7321 GB, free: 2.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000444/0.2045, allocations: 143.6 kB / 0.7322 GB, free: 1.906 MB / 0.545 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.000146/0.2046, allocations: 111.2 kB / 0.7323 GB, free: 1.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009443/0.2056, allocations: 464.6 kB / 0.7327 GB, free: 1.328 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2056, allocations: 0 / 0.7327 GB, free: 1.328 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.206, allocations: 202.9 kB / 0.7329 GB, free: 1.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.2067, allocations: 161.4 kB / 0.7331 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.2095, allocations: 1.393 MB / 0.7344 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.2101, allocations: 0.89 MB / 0.7353 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.2102, allocations: 39.44 kB / 0.7354 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2102, allocations: 4 kB / 0.7354 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.01228/0.2225, allocations: 7.682 MB / 0.7429 GB, free: 6.941 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.157017058998463] Failed to read output from testmodel.py, exit status != 0: 0.23078179699950852 0.5299383910000001 0.34563592000000004 Calling exit ...