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.001376/0.001376, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.00166/0.00166, allocations: 211.7 kB / 22.24 MB, free: 5.113 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.781 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.995/0.995, allocations: 145 MB / 457.4 MB, free: 15.25 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.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.002058/0.002058, allocations: 70.39 kB / 0.6331 GB, free: 6.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2094, allocations: 87.89 MB / 0.7189 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004808/0.2142, allocations: 2.813 MB / 0.7216 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001968/0.2161, allocations: 0.9391 MB / 0.7226 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.2164, allocations: 19.88 kB / 0.7226 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.2167, allocations: 63.33 kB / 0.7226 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.2169, allocations: 95.17 kB / 0.7227 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.2175, allocations: 230.6 kB / 0.723 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005464/0.218, allocations: 0.4911 MB / 0.7234 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.2183, allocations: 138.2 kB / 0.7236 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.2186, allocations: 199.1 kB / 0.7238 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.2188, allocations: 163 kB / 0.7239 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.769e-05/0.2189, allocations: 44 kB / 0.724 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.9e-05/0.219, allocations: 44 kB / 0.724 GB, free: 9.531 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.2191, allocations: 95.62 kB / 0.7241 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.2192, allocations: 151.1 kB / 0.7242 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000663/0.2199, allocations: 0.5446 MB / 0.7248 GB, free: 8.742 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2199, allocations: 4 kB / 0.7248 GB, free: 8.738 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2199, allocations: 0 / 0.7248 GB, free: 8.738 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.2199, allocations: 0 / 0.7248 GB, free: 8.738 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.001225/0.2211, allocations: 0.6566 MB / 0.7254 GB, free: 8.051 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.2212, allocations: 12.03 kB / 0.7254 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.2213, allocations: 66.72 kB / 0.7255 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.2215, allocations: 56.64 kB / 0.7255 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.2222, allocations: 349.4 kB / 0.7259 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.2222, allocations: 21.03 kB / 0.7259 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.2223, allocations: 36.31 kB / 0.7259 GB, free: 7.492 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.2229, allocations: 418.5 kB / 0.7263 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.2229, allocations: 4 kB / 0.7263 GB, free: 7.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.2229, allocations: 8 kB / 0.7263 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.223, allocations: 12 kB / 0.7263 GB, free: 7.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.2234, allocations: 218.5 kB / 0.7266 GB, free: 6.801 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.225, allocations: 1.008 MB / 0.7275 GB, free: 5.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.2255, allocations: 222.7 kB / 0.7278 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.2258, allocations: 107.6 kB / 0.7279 GB, free: 5.402 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.2258, allocations: 4 kB / 0.7279 GB, free: 5.398 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.2258, allocations: 34.94 kB / 0.7279 GB, free: 5.355 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.2258, allocations: 3.938 kB / 0.7279 GB, free: 5.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006857/0.2265, allocations: 303.2 kB / 0.7282 GB, free: 5.051 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.2266, allocations: 102.8 kB / 0.7283 GB, free: 4.926 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.227, allocations: 341.7 kB / 0.7286 GB, free: 4.582 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.227, allocations: 33.7 kB / 0.7286 GB, free: 4.543 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.2272, allocations: 220.5 kB / 0.7288 GB, free: 4.324 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/0.2273, allocations: 83.31 kB / 0.7289 GB, free: 4.242 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/0.2274, allocations: 53.7 kB / 0.729 GB, free: 4.184 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.2275, allocations: 342.8 kB / 0.7293 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.2277, allocations: 83.95 kB / 0.7294 GB, free: 3.758 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.228, allocations: 199 kB / 0.7296 GB, free: 3.523 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.2284, allocations: 205 kB / 0.7298 GB, free: 3.305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.2284, allocations: 7.938 kB / 0.7298 GB, free: 3.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005242/0.2289, allocations: 276.5 kB / 0.73 GB, free: 3.023 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.229, allocations: 11.94 kB / 0.7301 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.229, allocations: 0 / 0.7301 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.229, allocations: 7.984 kB / 0.7301 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2292, allocations: 52.17 kB / 0.7301 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2292, allocations: 11.92 kB / 0.7301 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.2294, allocations: 31.83 kB / 0.7302 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.2294, allocations: 8 kB / 0.7302 GB, free: 2.902 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.0002193/0.2296, allocations: 169.6 kB / 0.7303 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.2297, allocations: 35.77 kB / 0.7304 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.83e-05/0.2298, allocations: 43.45 kB / 0.7304 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2298, allocations: 0 / 0.7304 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2298, allocations: 4 kB / 0.7304 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.2298, allocations: 7.984 kB / 0.7304 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.2302, allocations: 328.4 kB / 0.7307 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2302, allocations: 0 / 0.7307 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.2305, allocations: 39.97 kB / 0.7308 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2305, allocations: 4 kB / 0.7308 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.2305, allocations: 4 kB / 0.7308 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2305, allocations: 0 / 0.7308 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2305, allocations: 3.938 kB / 0.7308 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.2312, allocations: 431.7 kB / 0.7312 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.2314, allocations: 51.77 kB / 0.7312 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.2314, allocations: 4 kB / 0.7312 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.2316, allocations: 19.98 kB / 0.7313 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.2316, allocations: 11.97 kB / 0.7313 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2317, allocations: 11.98 kB / 0.7313 GB, free: 1.688 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000256/0.2319, allocations: 239.2 kB / 0.7315 GB, free: 1.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2319, allocations: 3.938 kB / 0.7315 GB, free: 1.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003429/0.2323, allocations: 75.78 kB / 0.7316 GB, free: 1.375 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.001047/0.2333, allocations: 0.9677 MB / 0.7325 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004643/0.2338, allocations: 187.7 kB / 0.7327 GB, free: 204 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2338, allocations: 448 / 0.7327 GB, free: 204 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.234, allocations: 99.09 kB / 0.7328 GB, free: 108 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.2345, allocations: 73.44 kB / 0.7329 GB, free: 36 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.2389, allocations: 3.142 MB / 0.7359 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.2391, allocations: 187.1 kB / 0.7361 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.2392, allocations: 38.95 kB / 0.7362 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.2394, allocations: 119.4 kB / 0.7363 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of SimCode: time 9.01e-07/0.2394, allocations: 0 / 0.7363 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/0.2788, allocations: 7.524 MB / 0.7436 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.75, allocations: 10.98 kB / 0.7436 GB, free: 5.109 MB / 0.5606 GB " [Timeout remaining time 648] (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: 16.00515429954976] Failed to read output from testmodel.py, exit status != 0: 11.855614964850247 12.16800013 11.944996164 Calling exit ...