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.001264/0.001264, allocations: 116.8 kB / 17.16 MB, free: 6.023 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.001323/0.001323, allocations: 210.3 kB / 20.13 MB, free: 3.078 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.448/1.448, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9319/0.9319, allocations: 145 MB / 454.5 MB, free: 9.984 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.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",version="2.0",platforms={"static"}) [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.002192/0.002192, allocations: 73.73 kB / 0.6287 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1574, allocations: 87.83 MB / 0.7144 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006849/0.1642, allocations: 4.135 MB / 0.7185 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002868/0.1671, allocations: 1.352 MB / 0.7198 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006577/0.1678, allocations: 31.75 kB / 0.7198 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.1682, allocations: 130.7 kB / 0.72 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000559/0.1688, allocations: 182.4 kB / 0.7201 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1698, allocations: 412.8 kB / 0.7205 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.1711, allocations: 0.9632 MB / 0.7215 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006317/0.1717, allocations: 310.5 kB / 0.7218 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.1723, allocations: 342.7 kB / 0.7221 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004986/0.1728, allocations: 330.4 kB / 0.7224 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.173, allocations: 92 kB / 0.7225 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.1731, allocations: 88 kB / 0.7226 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.1733, allocations: 179.4 kB / 0.7228 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.1739, allocations: 398 kB / 0.7231 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.1751, allocations: 1.113 MB / 0.7242 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1751, allocations: 0 / 0.7242 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.365e-06/0.1751, allocations: 4 kB / 0.7242 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.146e-05/0.1751, allocations: 0 / 0.7242 GB, free: 1.691 MB / 0.5294 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.002297/0.1774, allocations: 1.103 MB / 0.7253 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1775, allocations: 8.031 kB / 0.7253 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.69e-05/0.1775, allocations: 17.5 kB / 0.7253 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.1776, allocations: 102.7 kB / 0.7254 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.1778, allocations: 92.38 kB / 0.7255 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.1789, allocations: 0.5553 MB / 0.7261 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.1789, allocations: 45.67 kB / 0.7261 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.179, allocations: 66.81 kB / 0.7262 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.1802, allocations: 0.5998 MB / 0.7267 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1802, allocations: 3.938 kB / 0.7267 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.1803, allocations: 20 kB / 0.7268 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.1803, allocations: 23.98 kB / 0.7268 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.1813, allocations: 457 kB / 0.7272 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.1843, allocations: 2.009 MB / 0.7292 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009461/0.1853, allocations: 420 kB / 0.7296 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.1858, allocations: 230 kB / 0.7298 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.1858, allocations: 8.422 kB / 0.7298 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005668/0.1864, allocations: 265.3 kB / 0.7301 GB, free: 11.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=49): time 2.084e-06/0.1864, allocations: 0 / 0.7301 GB, free: 11.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=49): time 0.001557/0.1879, allocations: 0.5807 MB / 0.7306 GB, free: 10.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.188, allocations: 63.83 kB / 0.7307 GB, free: 10.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.1885, allocations: 438.8 kB / 0.7311 GB, free: 10.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.1885, allocations: 33.7 kB / 0.7311 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.1888, allocations: 336.8 kB / 0.7315 GB, free: 10 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.1889, allocations: 170.5 kB / 0.7316 GB, free: 9.832 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.1891, allocations: 98.23 kB / 0.7317 GB, free: 9.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1893, allocations: 370.7 kB / 0.7321 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.1898, allocations: 169 kB / 0.7322 GB, free: 9.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.1903, allocations: 249.8 kB / 0.7325 GB, free: 8.926 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008959/0.1912, allocations: 452 kB / 0.7329 GB, free: 8.453 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1912, allocations: 0 / 0.7329 GB, free: 8.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001126/0.1923, allocations: 0.5666 MB / 0.7335 GB, free: 7.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.1924, allocations: 33.7 kB / 0.7335 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1924, allocations: 0 / 0.7335 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1924, allocations: 4 kB / 0.7335 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.1929, allocations: 115.8 kB / 0.7336 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1929, allocations: 4 kB / 0.7336 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.1932, allocations: 67.84 kB / 0.7337 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.1933, allocations: 16 kB / 0.7337 GB, free: 7.633 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0002601/0.1935, allocations: 216.4 kB / 0.7339 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.1936, allocations: 55.67 kB / 0.734 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.1938, allocations: 65.58 kB / 0.734 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.1938, allocations: 4 kB / 0.734 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1938, allocations: 0 / 0.734 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1938, allocations: 11.98 kB / 0.734 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.1956, allocations: 1.178 MB / 0.7352 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1956, allocations: 0 / 0.7352 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/0.1961, allocations: 95.88 kB / 0.7353 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1961, allocations: 0 / 0.7353 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.1961, allocations: 12 kB / 0.7353 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1961, allocations: 3.938 kB / 0.7353 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1961, allocations: 4 kB / 0.7353 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.1975, allocations: 0.7576 MB / 0.736 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.1977, allocations: 180.6 kB / 0.7362 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/0.1978, allocations: 15.98 kB / 0.7362 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.1981, allocations: 23.98 kB / 0.7362 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.1982, allocations: 36.39 kB / 0.7363 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.1982, allocations: 19.98 kB / 0.7363 GB, free: 4.867 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003541/0.1986, allocations: 310.9 kB / 0.7366 GB, free: 4.566 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1986, allocations: 0 / 0.7366 GB, free: 4.566 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000455/0.199, allocations: 135.7 kB / 0.7367 GB, free: 4.434 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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.00176/0.2008, allocations: 1.321 MB / 0.738 GB, free: 3.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009383/0.2017, allocations: 461 kB / 0.7384 GB, free: 2.621 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2017, allocations: 0 / 0.7384 GB, free: 2.621 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.2022, allocations: 210.8 kB / 0.7387 GB, free: 2.414 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007556/0.2029, allocations: 168.8 kB / 0.7388 GB, free: 2.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00742/0.2103, allocations: 4.806 MB / 0.7435 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.2109, allocations: 0.8899 MB / 0.7444 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002475/0.2111, allocations: 68.58 kB / 0.7444 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.2114, allocations: 215.4 kB / 0.7446 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.2114, allocations: 4 kB / 0.7446 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.2475, allocations: 11.46 MB / 0.7558 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.829/9.076, allocations: 16.7 kB / 0.7559 GB, free: 0.875 MB / 0.5606 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.881310767959803] Failed to read output from testmodel.py, exit status != 0: 9.207106447021943 9.223154618 9.044992558 Calling exit ...