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.0009724/0.0009724, 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.001391/0.001391, allocations: 170.3 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.9317/0.9317, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.5783/0.5783, allocations: 110.2 MB / 369.4 MB, free: 12.61 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.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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5472 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.8e-05, allocations: 6.219 kB / 0.5472 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003199/0.003217, allocations: 2.812 MB / 0.55 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.004806, allocations: 0.9505 MB / 0.5509 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.005058, allocations: 15.88 kB / 0.5509 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.005267, allocations: 63.33 kB / 0.551 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.005429, allocations: 99.11 kB / 0.5511 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.00592, allocations: 223.1 kB / 0.5513 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.006329, allocations: 0.499 MB / 0.5518 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.00658, allocations: 146.2 kB / 0.5519 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.006908, allocations: 279.2 kB / 0.5522 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.007059, allocations: 123.5 kB / 0.5523 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.007101, allocations: 44 kB / 0.5524 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-05/0.007162, allocations: 48 kB / 0.5524 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.00721, allocations: 91.66 kB / 0.5525 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.285e-05/0.007293, allocations: 123.6 kB / 0.5526 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.007794, allocations: 0.5528 MB / 0.5531 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.007798, allocations: 0 / 0.5531 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.072e-06/0.007799, allocations: 0 / 0.5531 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.007811, allocations: 0 / 0.5531 GB, free: 3.785 MB / 0.5105 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.001354/0.009165, allocations: 0.6489 MB / 0.5538 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.009218, allocations: 8.625 kB / 0.5538 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.368e-05/0.009282, allocations: 66.67 kB / 0.5539 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.009437, allocations: 60.59 kB / 0.5539 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.009983, allocations: 352.6 kB / 0.5542 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.01001, allocations: 25.03 kB / 0.5543 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.01005, allocations: 28.33 kB / 0.5543 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.0105, allocations: 415 kB / 0.5547 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.01051, allocations: 192 / 0.5547 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.01054, allocations: 24.12 kB / 0.5547 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.01055, allocations: 11.94 kB / 0.5547 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.01084, allocations: 214.5 kB / 0.5549 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.01193, allocations: 1.02 MB / 0.5559 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.01231, allocations: 214.8 kB / 0.5561 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.01246, allocations: 108.8 kB / 0.5562 GB, free: 456 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.01249, allocations: 4 kB / 0.5562 GB, free: 452 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.01253, allocations: 38.56 kB / 0.5563 GB, free: 404 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.01253, allocations: 4 kB / 0.5563 GB, free: 400 kB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.0005344/0.01306, allocations: 295.4 kB / 0.5566 GB, free: 100 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.01315, allocations: 106.8 kB / 0.5567 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.01346, allocations: 341.7 kB / 0.557 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.01349, allocations: 29.7 kB / 0.557 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.01364, allocations: 224.5 kB / 0.5572 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.0137, allocations: 79.28 kB / 0.5573 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.01379, allocations: 57.69 kB / 0.5574 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.01391, allocations: 342.8 kB / 0.5577 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.01405, allocations: 79.95 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.01423, allocations: 191.1 kB / 0.558 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.0145, allocations: 215.4 kB / 0.5582 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01451, allocations: 0 / 0.5582 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003164/0.01482, allocations: 284.4 kB / 0.5584 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01484, allocations: 8 kB / 0.5584 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01485, allocations: 0 / 0.5584 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.01486, allocations: 4 kB / 0.5584 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.01498, allocations: 64.03 kB / 0.5585 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.01499, allocations: 7.938 kB / 0.5585 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.904e-05/0.01508, allocations: 35.83 kB / 0.5585 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01509, allocations: 8 kB / 0.5586 GB, free: 13.95 MB / 0.5261 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.0001215/0.01521, allocations: 157.8 kB / 0.5587 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.01525, allocations: 43.64 kB / 0.5587 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.0153, allocations: 39.45 kB / 0.5588 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01531, allocations: 4 kB / 0.5588 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.01531, allocations: 4 kB / 0.5588 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.01532, allocations: 3.984 kB / 0.5588 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.01559, allocations: 324.5 kB / 0.5591 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01559, allocations: 0 / 0.5591 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.01571, allocations: 43.91 kB / 0.5591 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01571, allocations: 0 / 0.5591 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.01573, allocations: 8 kB / 0.5592 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01573, allocations: 3.938 kB / 0.5592 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01573, allocations: 3.984 kB / 0.5592 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.01616, allocations: 432.5 kB / 0.5596 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.01624, allocations: 59.7 kB / 0.5596 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.01627, allocations: 4 kB / 0.5596 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.168e-05/0.01635, allocations: 11.98 kB / 0.5596 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.01641, allocations: 23.95 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.01642, allocations: 4 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000176/0.01659, allocations: 239.2 kB / 0.5599 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01659, allocations: 0 / 0.5599 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002377/0.01683, allocations: 67.89 kB / 0.56 GB, free: 12.43 MB / 0.5261 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.0008807/0.01771, allocations: 0.9766 MB / 0.5609 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.01801, allocations: 188.2 kB / 0.5611 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.01801, allocations: 0 / 0.5611 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.01813, allocations: 100.8 kB / 0.5612 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.01847, allocations: 81.28 kB / 0.5613 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.02128, allocations: 3.094 MB / 0.5643 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.02141, allocations: 187.1 kB / 0.5645 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000114/0.02152, allocations: 42.94 kB / 0.5645 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.02166, allocations: 124.5 kB / 0.5646 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/0.02166, allocations: 3.938 kB / 0.5646 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.04451, allocations: 7.663 MB / 0.5721 GB, free: 56 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/7.1, allocations: 2.344 kB / 0.5721 GB, free: 56 kB / 0.5261 GB " [Timeout remaining time 653] (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: 9.80413984786719] Failed to read output from testmodel.py, exit status != 0: 7.185923702083528 7.195475751 7.185886283 Calling exit ...