Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.0008094/0.0008094, allocations: 79.69 kB / 19.25 MB, free: 0.6211 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.000807/0.000807, allocations: 162 kB / 22.56 MB, free: 1.965 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.8545/0.8545, allocations: 177.2 MB / 202.9 MB, free: 5.719 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.5394/0.5394, allocations: 110.2 MB / 369.6 MB, free: 12.57 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.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 0.5474 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.61e-05, allocations: 4.953 kB / 0.5474 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003298/0.003314, allocations: 3.743 MB / 0.5511 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.004757, allocations: 1.328 MB / 0.5524 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.004978, allocations: 27.81 kB / 0.5524 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.005212, allocations: 130.6 kB / 0.5525 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.005422, allocations: 190.3 kB / 0.5527 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.005976, allocations: 419.2 kB / 0.5531 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005715/0.006548, allocations: 0.9746 MB / 0.5541 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.00688, allocations: 290.6 kB / 0.5544 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.00722, allocations: 0.495 MB / 0.5548 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.00741, allocations: 243.2 kB / 0.5551 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.007474, allocations: 88 kB / 0.5552 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.02e-05/0.007534, allocations: 92 kB / 0.5552 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.558e-05/0.00762, allocations: 183.3 kB / 0.5554 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.00777, allocations: 247.4 kB / 0.5556 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006339/0.008404, allocations: 1.137 MB / 0.5568 GB, free: 164 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.008406, allocations: 0 / 0.5568 GB, free: 164 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.232e-06/0.008407, allocations: 0 / 0.5568 GB, free: 164 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.008416, allocations: 0 / 0.5568 GB, free: 164 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001114/0.00953, allocations: 1.08 MB / 0.5578 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.009564, allocations: 8.031 kB / 0.5578 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.626e-05/0.00964, allocations: 102.7 kB / 0.5579 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.009769, allocations: 88.36 kB / 0.558 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.01032, allocations: 0.5304 MB / 0.5585 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.01035, allocations: 45.69 kB / 0.5586 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.01041, allocations: 64.33 kB / 0.5586 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.01106, allocations: 0.6544 MB / 0.5593 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.01108, allocations: 192 / 0.5593 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.01111, allocations: 32.12 kB / 0.5593 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.01112, allocations: 16 kB / 0.5593 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005785/0.0117, allocations: 457 kB / 0.5597 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.01335, allocations: 1.795 MB / 0.5615 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.01388, allocations: 425.5 kB / 0.5619 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.01413, allocations: 226.2 kB / 0.5621 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.01416, allocations: 16.48 kB / 0.5621 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003191/0.01448, allocations: 258.2 kB / 0.5624 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 1.723e-06/0.01448, allocations: 0 / 0.5624 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.0007521/0.01523, allocations: 0.5903 MB / 0.563 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.01527, allocations: 59.89 kB / 0.563 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.01558, allocations: 450.7 kB / 0.5634 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.01561, allocations: 33.7 kB / 0.5635 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.01576, allocations: 324.9 kB / 0.5638 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.124e-05/0.01584, allocations: 174.5 kB / 0.564 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/0.01593, allocations: 98.23 kB / 0.5641 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.01603, allocations: 366.8 kB / 0.5644 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.01626, allocations: 198.9 kB / 0.5646 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.01652, allocations: 276.3 kB / 0.5649 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.01704, allocations: 459.2 kB / 0.5653 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01704, allocations: 0 / 0.5653 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006052/0.01765, allocations: 0.5864 MB / 0.5659 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.01768, allocations: 37.69 kB / 0.5659 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01768, allocations: 4 kB / 0.5659 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.0177, allocations: 7.938 kB / 0.5659 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.01796, allocations: 107.9 kB / 0.566 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01797, allocations: 7.938 kB / 0.566 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.01812, allocations: 59.64 kB / 0.5661 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.01814, allocations: 20.14 kB / 0.5661 GB, free: 6.246 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0001599/0.0183, allocations: 216 kB / 0.5663 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.01834, allocations: 55.62 kB / 0.5664 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.509e-05/0.01842, allocations: 69.58 kB / 0.5664 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01842, allocations: 7.938 kB / 0.5664 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01843, allocations: 0 / 0.5664 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.01843, allocations: 3.984 kB / 0.5664 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.01945, allocations: 1.078 MB / 0.5675 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01946, allocations: 3.938 kB / 0.5675 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.01971, allocations: 95.83 kB / 0.5676 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01971, allocations: 4 kB / 0.5676 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.01973, allocations: 11.98 kB / 0.5676 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01974, allocations: 0 / 0.5676 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01974, allocations: 0 / 0.5676 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000789/0.02053, allocations: 0.767 MB / 0.5683 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.02063, allocations: 95.56 kB / 0.5684 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.02067, allocations: 8 kB / 0.5684 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.0208, allocations: 23.97 kB / 0.5685 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.02087, allocations: 36.44 kB / 0.5685 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.02089, allocations: 15.98 kB / 0.5685 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002088/0.0211, allocations: 306.9 kB / 0.5688 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.0211, allocations: 4 kB / 0.5688 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002637/0.02136, allocations: 151.5 kB / 0.569 GB, free: 3.242 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009392/0.0223, allocations: 1.319 MB / 0.5702 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005329/0.02283, allocations: 487.3 kB / 0.5707 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.02284, allocations: 4 kB / 0.5707 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.02307, allocations: 202.8 kB / 0.5709 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.02351, allocations: 163 kB / 0.5711 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.02787, allocations: 4.825 MB / 0.5758 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.02804, allocations: 296.7 kB / 0.5761 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.02821, allocations: 64.58 kB / 0.5761 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.02841, allocations: 224.4 kB / 0.5763 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/0.02841, allocations: 0 / 0.5763 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.05093, allocations: 12.56 MB / 0.5886 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.711/6.762, allocations: 15.45 kB / 0.5886 GB, free: 15.18 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.404797045513988] Failed to read output from testmodel.py, exit status != 0: 6.848393101245165 6.856612698 6.846519052 Calling exit ...