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.001306/0.001306, 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.001502/0.001502, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 8.008 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 1.012/1.012, allocations: 145 MB / 457.4 MB, free: 15.55 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.002795/0.002795, allocations: 66.28 kB / 0.6331 GB, free: 7.348 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2381, allocations: 87.88 MB / 0.719 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.007094/0.2452, allocations: 3.042 MB / 0.7219 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003141/0.2484, allocations: 0.9702 MB / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004775/0.2489, allocations: 23.81 kB / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.2492, allocations: 67.33 kB / 0.723 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.2495, allocations: 99.09 kB / 0.7231 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008629/0.2504, allocations: 226.2 kB / 0.7233 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000841/0.2512, allocations: 0.4911 MB / 0.7238 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/0.2516, allocations: 150.2 kB / 0.7239 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.2521, allocations: 195.2 kB / 0.7241 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.2524, allocations: 179 kB / 0.7243 GB, free: 10 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.15e-05/0.2525, allocations: 44 kB / 0.7243 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.2527, allocations: 51.98 kB / 0.7244 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.2528, allocations: 87.7 kB / 0.7244 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.253, allocations: 210.8 kB / 0.7246 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009417/0.254, allocations: 0.5368 MB / 0.7252 GB, free: 9.078 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.254, allocations: 0 / 0.7252 GB, free: 9.078 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.254, allocations: 0 / 0.7252 GB, free: 9.078 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.254, allocations: 0 / 0.7252 GB, free: 9.078 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.001695/0.2557, allocations: 0.6528 MB / 0.7258 GB, free: 8.395 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.415e-05/0.2558, allocations: 12.03 kB / 0.7258 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.2559, allocations: 62.72 kB / 0.7259 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.2562, allocations: 60.64 kB / 0.7259 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.2572, allocations: 350.8 kB / 0.7263 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.2573, allocations: 25.03 kB / 0.7263 GB, free: 7.863 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.11e-05/0.2574, allocations: 28.38 kB / 0.7263 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008131/0.2582, allocations: 341.4 kB / 0.7266 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.2582, allocations: 3.938 kB / 0.7266 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.2582, allocations: 16 kB / 0.7267 GB, free: 7.457 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.2583, allocations: 8 kB / 0.7267 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.259, allocations: 210.5 kB / 0.7269 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.2614, allocations: 1.14 MB / 0.728 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009141/0.2623, allocations: 228.4 kB / 0.7282 GB, free: 5.805 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.2626, allocations: 111.5 kB / 0.7283 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.2627, allocations: 7.922 kB / 0.7283 GB, free: 5.688 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.2627, allocations: 38.94 kB / 0.7284 GB, free: 5.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 2.675e-06/0.2627, allocations: 0 / 0.7284 GB, free: 5.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.001065/0.2638, allocations: 293.2 kB / 0.7286 GB, free: 5.348 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.2639, allocations: 102.8 kB / 0.7287 GB, free: 5.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.2645, allocations: 349.6 kB / 0.7291 GB, free: 4.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.2645, allocations: 33.7 kB / 0.7291 GB, free: 4.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.2648, allocations: 224.5 kB / 0.7293 GB, free: 4.609 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.932e-05/0.2649, allocations: 79.33 kB / 0.7294 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.265, allocations: 49.7 kB / 0.7294 GB, free: 4.477 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002248/0.2652, allocations: 346.8 kB / 0.7298 GB, free: 4.129 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.2655, allocations: 75.97 kB / 0.7298 GB, free: 4.055 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.2659, allocations: 147.6 kB / 0.73 GB, free: 3.883 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006083/0.2665, allocations: 209.9 kB / 0.7302 GB, free: 3.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.2665, allocations: 7.938 kB / 0.7302 GB, free: 3.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008359/0.2674, allocations: 277.1 kB / 0.7305 GB, free: 3.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.2674, allocations: 12.19 kB / 0.7305 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.2674, allocations: 0 / 0.7305 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.2674, allocations: 4 kB / 0.7305 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.2678, allocations: 51.91 kB / 0.7305 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.2678, allocations: 4 kB / 0.7305 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.268, allocations: 35.77 kB / 0.7306 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.268, allocations: 12 kB / 0.7306 GB, free: 3.258 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.0002128/0.2682, allocations: 165.7 kB / 0.7307 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.546e-05/0.2683, allocations: 35.77 kB / 0.7308 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.352e-05/0.2684, allocations: 35.45 kB / 0.7308 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2684, allocations: 4 kB / 0.7308 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.2684, allocations: 3.984 kB / 0.7308 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2684, allocations: 0 / 0.7308 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.2689, allocations: 376.3 kB / 0.7312 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2689, allocations: 0 / 0.7312 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.2692, allocations: 39.92 kB / 0.7312 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2692, allocations: 3.938 kB / 0.7312 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.2693, allocations: 15.98 kB / 0.7312 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2693, allocations: 0 / 0.7312 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2693, allocations: 4 kB / 0.7312 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.2703, allocations: 429.5 kB / 0.7316 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.2705, allocations: 51.72 kB / 0.7317 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.62e-05/0.2705, allocations: 7.984 kB / 0.7317 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.2708, allocations: 20.05 kB / 0.7317 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.2709, allocations: 15.97 kB / 0.7317 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.2709, allocations: 11.94 kB / 0.7317 GB, free: 1.996 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003963/0.2713, allocations: 239.2 kB / 0.732 GB, free: 1.766 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2713, allocations: 0 / 0.732 GB, free: 1.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004872/0.2718, allocations: 67.83 kB / 0.732 GB, free: 1.699 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.001518/0.2733, allocations: 0.963 MB / 0.733 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006089/0.2739, allocations: 189 kB / 0.7331 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2739, allocations: 4 kB / 0.7331 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.2742, allocations: 99.83 kB / 0.7332 GB, free: 440 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008373/0.2751, allocations: 80.19 kB / 0.7333 GB, free: 364 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006691/0.2818, allocations: 3.133 MB / 0.7364 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/0.2823, allocations: 0.7989 MB / 0.7372 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001847/0.2825, allocations: 38.95 kB / 0.7372 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.2828, allocations: 123.4 kB / 0.7373 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/0.2828, allocations: 0 / 0.7373 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04821/0.331, allocations: 6.949 MB / 0.7441 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.83, allocations: 11.2 kB / 0.7441 GB, free: 5.336 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.15205583399802] Failed to read output from testmodel.py, exit status != 0: 11.940248415001406 12.247664309 11.988473685 Calling exit ...