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.001644/0.001644, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00179/0.00179, allocations: 215.5 kB / 22.26 MB, free: 5.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.476/1.476, allocations: 230.6 MB / 256 MB, free: 8.023 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.9202/0.9202, allocations: 145 MB / 457.4 MB, free: 15.53 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",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.002049/0.002049, allocations: 71.77 kB / 0.6331 GB, free: 7.375 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1681, allocations: 87.88 MB / 0.719 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005795/0.1739, allocations: 4.153 MB / 0.723 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.1764, allocations: 1.371 MB / 0.7244 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.1767, allocations: 31.81 kB / 0.7244 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.177, allocations: 130.7 kB / 0.7245 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.1774, allocations: 182.4 kB / 0.7247 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009674/0.1783, allocations: 436.7 kB / 0.7251 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009592/0.1793, allocations: 0.9515 MB / 0.726 GB, free: 8.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006107/0.1799, allocations: 306.7 kB / 0.7263 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.1803, allocations: 346.7 kB / 0.7267 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003622/0.1806, allocations: 338.4 kB / 0.727 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.1807, allocations: 88 kB / 0.7271 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1809, allocations: 92 kB / 0.7272 GB, free: 7.055 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.181, allocations: 179.4 kB / 0.7273 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.1813, allocations: 386.1 kB / 0.7277 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.1825, allocations: 1.128 MB / 0.7288 GB, free: 5.367 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1825, allocations: 0 / 0.7288 GB, free: 5.367 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1825, allocations: 0 / 0.7288 GB, free: 5.367 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.1825, allocations: 0 / 0.7288 GB, free: 5.367 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.001868/0.1844, allocations: 1.072 MB / 0.7298 GB, free: 4.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1844, allocations: 12.03 kB / 0.7299 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.1845, allocations: 94.7 kB / 0.7299 GB, free: 4.137 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.1847, allocations: 92.38 kB / 0.73 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008685/0.1855, allocations: 0.5077 MB / 0.7305 GB, free: 3.516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.1856, allocations: 45.69 kB / 0.7306 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.1857, allocations: 60.33 kB / 0.7306 GB, free: 3.414 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.1868, allocations: 0.6116 MB / 0.7312 GB, free: 2.777 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.1868, allocations: 0 / 0.7312 GB, free: 2.777 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.1868, allocations: 27.98 kB / 0.7313 GB, free: 2.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.1869, allocations: 19.94 kB / 0.7313 GB, free: 2.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.188, allocations: 461 kB / 0.7317 GB, free: 2.281 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.1907, allocations: 1.935 MB / 0.7336 GB, free: 288 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.1917, allocations: 425.8 kB / 0.734 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.1921, allocations: 226 kB / 0.7342 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.1922, allocations: 4.438 kB / 0.7342 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005189/0.1927, allocations: 261.3 kB / 0.7345 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.1927, allocations: 3.938 kB / 0.7345 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001344/0.194, allocations: 0.5807 MB / 0.735 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1941, allocations: 67.78 kB / 0.7351 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.1945, allocations: 446 kB / 0.7355 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.1946, allocations: 33.7 kB / 0.7356 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.1948, allocations: 325.6 kB / 0.7359 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.1951, allocations: 174.5 kB / 0.736 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.1952, allocations: 98.3 kB / 0.7361 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1954, allocations: 366.8 kB / 0.7365 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.1957, allocations: 165.2 kB / 0.7366 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.1961, allocations: 246.7 kB / 0.7369 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009161/0.1971, allocations: 455 kB / 0.7373 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1971, allocations: 4 kB / 0.7373 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001026/0.1981, allocations: 0.5614 MB / 0.7379 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.1981, allocations: 37.72 kB / 0.7379 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1981, allocations: 4 kB / 0.7379 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1982, allocations: 4 kB / 0.7379 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.1987, allocations: 111.8 kB / 0.738 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1988, allocations: 8 kB / 0.738 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.1991, allocations: 55.64 kB / 0.7381 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.1991, allocations: 24 kB / 0.7381 GB, free: 11.52 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.000254/0.1994, allocations: 212.3 kB / 0.7383 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.1994, allocations: 63.56 kB / 0.7384 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.1995, allocations: 61.58 kB / 0.7384 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1996, allocations: 4 kB / 0.7384 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1996, allocations: 0 / 0.7384 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1996, allocations: 7.984 kB / 0.7384 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.2016, allocations: 1.15 MB / 0.7396 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2016, allocations: 3.984 kB / 0.7396 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.2021, allocations: 91.89 kB / 0.7397 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2021, allocations: 4 kB / 0.7397 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.2021, allocations: 15.98 kB / 0.7397 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2021, allocations: 0 / 0.7397 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2021, allocations: 3.938 kB / 0.7397 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.2035, allocations: 0.7652 MB / 0.7404 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.2037, allocations: 99.45 kB / 0.7405 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.2037, allocations: 12 kB / 0.7405 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.204, allocations: 31.97 kB / 0.7406 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.2041, allocations: 32.38 kB / 0.7406 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.2041, allocations: 12 kB / 0.7406 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003684/0.2045, allocations: 310.9 kB / 0.7409 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.01e-07/0.2045, allocations: 0 / 0.7409 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004919/0.205, allocations: 147.6 kB / 0.741 GB, free: 8.438 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.001754/0.2067, allocations: 1.317 MB / 0.7423 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009964/0.2077, allocations: 460.9 kB / 0.7428 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2077, allocations: 0 / 0.7428 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.2081, allocations: 210.3 kB / 0.743 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/0.2088, allocations: 155.3 kB / 0.7431 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/0.2166, allocations: 4.802 MB / 0.7478 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.2172, allocations: 0.886 MB / 0.7487 GB, free: 432 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.2175, allocations: 68.58 kB / 0.7487 GB, free: 364 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.2178, allocations: 219.4 kB / 0.7489 GB, free: 144 kB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2178, allocations: 0 / 0.7489 GB, free: 144 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.34/0.5578, allocations: 11.82 MB / 0.7605 GB, free: 29.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.16, allocations: 11.77 kB / 0.7605 GB, free: 29.35 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.924464561976492] Failed to read output from testmodel.py, exit status != 0: 12.275768446968868 12.297620525 12.11087662 Calling exit ...