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.001141/0.001141, allocations: 76.45 kB / 19.17 MB, free: 0.75 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.0009809/0.0009809, allocations: 166.3 kB / 22.45 MB, free: 2.113 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.9003/0.9003, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.5407/0.5407, 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.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 2.374e-06/2.374e-06, allocations: 0 / 0.5472 GB, free: 8.801 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.624e-05, allocations: 3.828 kB / 0.5472 GB, free: 8.797 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004659/0.004685, allocations: 2.808 MB / 0.55 GB, free: 5.965 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.006877, allocations: 0.9427 MB / 0.5509 GB, free: 5.016 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.00716, allocations: 19.88 kB / 0.5509 GB, free: 4.996 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.007381, allocations: 67.33 kB / 0.551 GB, free: 4.93 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.007551, allocations: 95.09 kB / 0.5511 GB, free: 4.836 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.008049, allocations: 235.3 kB / 0.5513 GB, free: 4.609 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.008506, allocations: 0.4991 MB / 0.5518 GB, free: 4.109 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.008763, allocations: 142.2 kB / 0.5519 GB, free: 3.965 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.009112, allocations: 279.2 kB / 0.5522 GB, free: 3.691 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.009283, allocations: 123.5 kB / 0.5523 GB, free: 3.57 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.009326, allocations: 44 kB / 0.5524 GB, free: 3.527 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.95e-05/0.009385, allocations: 44 kB / 0.5524 GB, free: 3.484 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.009435, allocations: 99.61 kB / 0.5525 GB, free: 3.387 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 8.088e-05/0.009516, allocations: 123.7 kB / 0.5526 GB, free: 3.266 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004688/0.009985, allocations: 0.5451 MB / 0.5531 GB, free: 2.719 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.009989, allocations: 0 / 0.5531 GB, free: 2.719 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.009992, allocations: 4 kB / 0.5531 GB, free: 2.715 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.01, allocations: 0 / 0.5531 GB, free: 2.715 MB / 474.7 MB 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.0008448/0.01085, allocations: 0.6514 MB / 0.5538 GB, free: 2.035 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.01089, allocations: 12.56 kB / 0.5538 GB, free: 2.023 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.576e-05/0.01094, allocations: 66.72 kB / 0.5539 GB, free: 1.949 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.0111, allocations: 64.55 kB / 0.5539 GB, free: 1.887 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.01163, allocations: 348.6 kB / 0.5543 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.01166, allocations: 21.03 kB / 0.5543 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.01169, allocations: 32.38 kB / 0.5543 GB, free: 1.469 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.01216, allocations: 419 kB / 0.5547 GB, free: 1.016 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.01217, allocations: 192 / 0.5547 GB, free: 1.016 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.0122, allocations: 16.12 kB / 0.5547 GB, free: 1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.01221, allocations: 8 kB / 0.5547 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.01251, allocations: 214.5 kB / 0.5549 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.01375, allocations: 1.016 MB / 0.5559 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.01414, allocations: 219.4 kB / 0.5561 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.01427, allocations: 117.3 kB / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.0143, allocations: 4 kB / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.01432, allocations: 34.56 kB / 0.5563 GB, free: 15.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.01432, allocations: 0 / 0.5563 GB, free: 15.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004407/0.01476, allocations: 297.6 kB / 0.5566 GB, free: 15.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.01481, allocations: 106.8 kB / 0.5567 GB, free: 14.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.01506, allocations: 337.7 kB / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.01508, allocations: 33.7 kB / 0.557 GB, free: 14.53 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.01526, allocations: 232.5 kB / 0.5572 GB, free: 14.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.01531, allocations: 79.27 kB / 0.5573 GB, free: 14.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.01537, allocations: 53.7 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.01546, allocations: 342.8 kB / 0.5577 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.01558, allocations: 75.91 kB / 0.5578 GB, free: 13.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.01574, allocations: 199.1 kB / 0.558 GB, free: 13.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.01599, allocations: 207.2 kB / 0.5582 GB, free: 13.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01599, allocations: 0 / 0.5582 GB, free: 13.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003543/0.01635, allocations: 290.7 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.01637, allocations: 4 kB / 0.5584 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.01638, allocations: 4 kB / 0.5584 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.0164, allocations: 7.938 kB / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.01655, allocations: 55.91 kB / 0.5585 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01656, allocations: 0 / 0.5585 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.01666, allocations: 35.83 kB / 0.5585 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.01668, allocations: 8 kB / 0.5585 GB, free: 12.88 MB / 490.7 MB 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.0001574/0.01683, allocations: 165.8 kB / 0.5587 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.01687, allocations: 39.7 kB / 0.5587 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.241e-05/0.01696, allocations: 43.44 kB / 0.5588 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01696, allocations: 4 kB / 0.5588 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.01697, allocations: 7.938 kB / 0.5588 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01698, allocations: 0 / 0.5588 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.01729, allocations: 320.5 kB / 0.5591 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.01729, allocations: 0 / 0.5591 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.01743, allocations: 47.84 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01744, allocations: 0 / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.01746, allocations: 8 kB / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.01746, allocations: 4 kB / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.01747, allocations: 0 / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.01792, allocations: 425.7 kB / 0.5596 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.01799, allocations: 55.7 kB / 0.5596 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.01802, allocations: 8 kB / 0.5596 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.0181, allocations: 15.98 kB / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.01815, allocations: 20.02 kB / 0.5597 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.01816, allocations: 12 kB / 0.5597 GB, free: 11.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.01833, allocations: 243.1 kB / 0.5599 GB, free: 11.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01833, allocations: 0 / 0.5599 GB, free: 11.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.01856, allocations: 67.83 kB / 0.56 GB, free: 11.36 MB / 490.7 MB 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.0008195/0.01938, allocations: 0.9633 MB / 0.5609 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.01973, allocations: 191.9 kB / 0.5611 GB, free: 10.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01973, allocations: 0 / 0.5611 GB, free: 10.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.01985, allocations: 93.16 kB / 0.5612 GB, free: 10.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.02025, allocations: 80.16 kB / 0.5613 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.02321, allocations: 3.111 MB / 0.5643 GB, free: 6.801 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.02333, allocations: 187.1 kB / 0.5645 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.02347, allocations: 46.94 kB / 0.5645 GB, free: 6.551 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.02361, allocations: 132.4 kB / 0.5646 GB, free: 6.422 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02361, allocations: 0 / 0.5646 GB, free: 6.422 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.04664, allocations: 7.641 MB / 0.5721 GB, free: 15 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/7.422, allocations: 3.938 kB / 0.5721 GB, free: 14.99 MB / 0.4948 GB " [Timeout remaining time 652] (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.980053473263979] Failed to read output from testmodel.py, exit status != 0: 7.507913388311863 7.516198691 7.504278101 Calling exit ...