Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.001238/0.001238, allocations: 107.3 kB / 16.45 MB, free: 6.453 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.001354/0.001354, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 9 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.8977/0.8977, allocations: 145 MB / 453.8 MB, free: 0.6875 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.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",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.001983/0.001983, allocations: 66.28 kB / 0.628 GB, free: 10.65 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.187, allocations: 87.82 MB / 0.7138 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.005137/0.1922, allocations: 3.017 MB / 0.7167 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.1945, allocations: 0.9664 MB / 0.7177 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.1948, allocations: 15.88 kB / 0.7177 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.1951, allocations: 63.33 kB / 0.7177 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1953, allocations: 95.17 kB / 0.7178 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006184/0.1959, allocations: 230.5 kB / 0.718 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006693/0.1966, allocations: 0.4911 MB / 0.7185 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/0.1969, allocations: 153.8 kB / 0.7187 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.1972, allocations: 191.2 kB / 0.7189 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.1975, allocations: 175 kB / 0.719 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.1975, allocations: 48 kB / 0.7191 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.532e-05/0.1976, allocations: 48 kB / 0.7191 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.1977, allocations: 95.67 kB / 0.7192 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.1979, allocations: 202.8 kB / 0.7194 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.1986, allocations: 0.5406 MB / 0.7199 GB, free: 12.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1986, allocations: 0 / 0.7199 GB, free: 12.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1986, allocations: 0 / 0.7199 GB, free: 12.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.1986, allocations: 0 / 0.7199 GB, free: 12.5 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001264/0.1999, allocations: 0.732 MB / 0.7206 GB, free: 11.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1999, allocations: 12.03 kB / 0.7207 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.441e-05/0.2, allocations: 62.72 kB / 0.7207 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.2002, allocations: 60.64 kB / 0.7208 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007792/0.201, allocations: 404.6 kB / 0.7212 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.2011, allocations: 25.03 kB / 0.7212 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.2011, allocations: 24.38 kB / 0.7212 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.2018, allocations: 345.2 kB / 0.7215 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2018, allocations: 0 / 0.7215 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.2018, allocations: 15.98 kB / 0.7215 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.2018, allocations: 8 kB / 0.7216 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/0.2023, allocations: 210.1 kB / 0.7218 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.2041, allocations: 1.182 MB / 0.7229 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006466/0.2048, allocations: 226.7 kB / 0.7231 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.205, allocations: 112.8 kB / 0.7232 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.2051, allocations: 0 / 0.7232 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.2051, allocations: 38.94 kB / 0.7233 GB, free: 8.855 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.082e-06/0.2051, allocations: 0 / 0.7233 GB, free: 8.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0007503/0.2059, allocations: 298.9 kB / 0.7236 GB, free: 8.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/0.2059, allocations: 106.8 kB / 0.7237 GB, free: 8.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.2063, allocations: 341.7 kB / 0.724 GB, free: 8.086 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.2064, allocations: 37.69 kB / 0.724 GB, free: 8.043 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.2066, allocations: 220.5 kB / 0.7242 GB, free: 7.824 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/0.2067, allocations: 83.27 kB / 0.7243 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.2068, allocations: 57.67 kB / 0.7244 GB, free: 7.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2069, allocations: 346.8 kB / 0.7247 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.2071, allocations: 79.95 kB / 0.7248 GB, free: 7.254 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.2074, allocations: 143.7 kB / 0.7249 GB, free: 7.086 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.2078, allocations: 211.2 kB / 0.7251 GB, free: 6.859 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2078, allocations: 7.938 kB / 0.7251 GB, free: 6.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005551/0.2084, allocations: 284.5 kB / 0.7254 GB, free: 6.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2084, allocations: 4 kB / 0.7254 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2084, allocations: 0 / 0.7254 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2084, allocations: 4 kB / 0.7254 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.2087, allocations: 51.91 kB / 0.7254 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2087, allocations: 4 kB / 0.7254 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.2089, allocations: 31.83 kB / 0.7255 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.2089, allocations: 12 kB / 0.7255 GB, free: 6.465 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001984/0.2091, allocations: 165.9 kB / 0.7256 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.2091, allocations: 39.7 kB / 0.7257 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.2092, allocations: 39.36 kB / 0.7257 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2092, allocations: 0 / 0.7257 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2093, allocations: 0 / 0.7257 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2093, allocations: 3.984 kB / 0.7257 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.2098, allocations: 401.2 kB / 0.7261 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2098, allocations: 0 / 0.7261 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.21, allocations: 43.92 kB / 0.7262 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.21, allocations: 4 kB / 0.7262 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.21, allocations: 11.98 kB / 0.7262 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.21, allocations: 0 / 0.7262 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.21, allocations: 0 / 0.7262 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007501/0.2108, allocations: 430.4 kB / 0.7266 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.2109, allocations: 132.9 kB / 0.7267 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.2109, allocations: 11.98 kB / 0.7267 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.2111, allocations: 11.98 kB / 0.7267 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.2112, allocations: 15.98 kB / 0.7267 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.2112, allocations: 7.984 kB / 0.7268 GB, free: 5.078 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002672/0.2115, allocations: 239.2 kB / 0.727 GB, free: 4.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2115, allocations: 0 / 0.727 GB, free: 4.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003352/0.2118, allocations: 67.89 kB / 0.727 GB, free: 4.781 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001131/0.2129, allocations: 0.9674 MB / 0.728 GB, free: 3.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004966/0.2134, allocations: 197.9 kB / 0.7282 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2134, allocations: 0 / 0.7282 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.2136, allocations: 91.91 kB / 0.7283 GB, free: 3.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.2142, allocations: 77.42 kB / 0.7283 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.2188, allocations: 3.138 MB / 0.7314 GB, free: 184 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.2192, allocations: 0.799 MB / 0.7322 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.2194, allocations: 34.97 kB / 0.7322 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.2196, allocations: 127.3 kB / 0.7323 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.2196, allocations: 0 / 0.7323 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/0.2551, allocations: 6.744 MB / 0.7389 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/8.705, allocations: 2.938 kB / 0.7389 GB, free: 8.629 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.72335554700112] Failed to read output from testmodel.py, exit status != 0: 8.777363183005946 9.079076607 8.877849809 Calling exit ...