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.001159/0.001159, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001264/0.001264, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9917/0.9917, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 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.5751/0.5751, allocations: 110.2 MB / 369.4 MB, free: 12.62 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5472 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.047e-05, allocations: 4.953 kB / 0.5472 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.00452/0.004551, allocations: 3.737 MB / 0.5509 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.007103, allocations: 1.328 MB / 0.5522 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005086/0.007611, allocations: 27.81 kB / 0.5522 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.007948, allocations: 134.6 kB / 0.5523 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.008257, allocations: 186.3 kB / 0.5525 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007832/0.009041, allocations: 422.4 kB / 0.5529 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009206/0.009961, allocations: 0.9746 MB / 0.5539 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004738/0.01043, allocations: 290.6 kB / 0.5541 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.01097, allocations: 0.495 MB / 0.5546 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.01122, allocations: 247.2 kB / 0.5549 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.677e-05/0.01131, allocations: 92 kB / 0.555 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.01138, allocations: 92 kB / 0.555 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.01149, allocations: 179.4 kB / 0.5552 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.01167, allocations: 247.4 kB / 0.5554 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0008439/0.01252, allocations: 1.145 MB / 0.5566 GB, free: 284 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.01252, allocations: 4 kB / 0.5566 GB, free: 280 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.064e-06/0.01252, allocations: 0 / 0.5566 GB, free: 280 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.261e-05/0.01255, allocations: 0 / 0.5566 GB, free: 280 kB / 0.5105 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.0016/0.01415, allocations: 1.08 MB / 0.5576 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/0.01421, allocations: 8.031 kB / 0.5576 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.01433, allocations: 98.7 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.01447, allocations: 84.42 kB / 0.5578 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/0.01522, allocations: 0.5069 MB / 0.5583 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.01525, allocations: 45.69 kB / 0.5583 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.01532, allocations: 56.33 kB / 0.5584 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.01608, allocations: 0.6544 MB / 0.559 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.0161, allocations: 4.188 kB / 0.559 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.01615, allocations: 32.11 kB / 0.5591 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.01616, allocations: 16 kB / 0.5591 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006156/0.01677, allocations: 457 kB / 0.5595 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.01883, allocations: 1.783 MB / 0.5613 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.01944, allocations: 421.5 kB / 0.5617 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.01971, allocations: 230.2 kB / 0.5619 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.01974, allocations: 4.5 kB / 0.5619 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003627/0.0201, allocations: 266.2 kB / 0.5621 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 1.854e-06/0.0201, allocations: 0 / 0.5621 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.0008494/0.02095, allocations: 0.5865 MB / 0.5627 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.02101, allocations: 63.84 kB / 0.5628 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.02139, allocations: 446.7 kB / 0.5632 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.02142, allocations: 37.7 kB / 0.5632 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.02163, allocations: 328.9 kB / 0.5636 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.02174, allocations: 174.5 kB / 0.5637 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.02185, allocations: 94.3 kB / 0.5638 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.02198, allocations: 362.8 kB / 0.5642 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.02225, allocations: 194.9 kB / 0.5643 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.02254, allocations: 280.4 kB / 0.5646 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.02308, allocations: 455.2 kB / 0.565 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.02308, allocations: 4 kB / 0.565 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006777/0.02376, allocations: 0.5902 MB / 0.5656 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.0238, allocations: 37.95 kB / 0.5657 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.0238, allocations: 0 / 0.5657 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.02382, allocations: 7.938 kB / 0.5657 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.0241, allocations: 115.8 kB / 0.5658 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.02411, allocations: 4 kB / 0.5658 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.02427, allocations: 59.64 kB / 0.5658 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.02429, allocations: 19.98 kB / 0.5659 GB, free: 6.41 MB / 0.5261 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.000197/0.02449, allocations: 212 kB / 0.5661 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.02454, allocations: 63.61 kB / 0.5661 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.692e-05/0.02463, allocations: 61.59 kB / 0.5662 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.02463, allocations: 7.938 kB / 0.5662 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.02464, allocations: 4 kB / 0.5662 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.02465, allocations: 3.984 kB / 0.5662 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.02649, allocations: 1.07 MB / 0.5672 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.02649, allocations: 7.938 kB / 0.5672 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.02679, allocations: 95.88 kB / 0.5673 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.0268, allocations: 0 / 0.5673 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.02683, allocations: 12 kB / 0.5673 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.02684, allocations: 4 kB / 0.5674 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.02684, allocations: 0 / 0.5674 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.02792, allocations: 0.7708 MB / 0.5681 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.02813, allocations: 91.5 kB / 0.5682 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.0282, allocations: 12 kB / 0.5682 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.02836, allocations: 28.09 kB / 0.5682 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.794e-05/0.02845, allocations: 32.44 kB / 0.5683 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.02848, allocations: 19.98 kB / 0.5683 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003019/0.02878, allocations: 306.9 kB / 0.5686 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/0.02878, allocations: 0 / 0.5686 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003852/0.02916, allocations: 147.6 kB / 0.5687 GB, free: 3.41 MB / 0.5261 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.001281/0.03044, allocations: 1.325 MB / 0.57 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000835/0.03128, allocations: 491.4 kB / 0.5705 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.03128, allocations: 0 / 0.5705 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.03156, allocations: 210.7 kB / 0.5707 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.03215, allocations: 154.7 kB / 0.5708 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/0.03815, allocations: 4.825 MB / 0.5755 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.03838, allocations: 292.6 kB / 0.5758 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000267/0.03864, allocations: 64.58 kB / 0.5759 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.03889, allocations: 220.4 kB / 0.5761 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of SimCode: time 1.593e-06/0.03889, allocations: 0 / 0.5761 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.07093, allocations: 12.57 MB / 0.5884 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.65, allocations: 3.281 kB / 0.5884 GB, free: 15.36 MB / 0.5573 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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: 10.851527375169098] Failed to read output from testmodel.py, exit status != 0: 7.73683014139533 7.748614837 7.734187765 Calling exit ...