Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01492/0.01492, allocations: 1.773 MB / 18.82 MB, free: 4.246 MB / 14.72 MB " [Timeout remaining time 180] 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.001631/0.001631, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.002097/0.002097, allocations: 209.5 kB / 25.45 MB, free: 3.25 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.468/1.468, allocations: 230.6 MB / 259.2 MB, free: 13.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.064/1.064, allocations: 130.6 MB / 446.3 MB, free: 14.68 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.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) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater,fileNamePrefix="ClaRa_ClaRa_Components_Control_PredictorModels_3508_Check_TestReheater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater,fileNamePrefix="ClaRa_ClaRa_Components_Control_PredictorModels_3508_Check_TestReheater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. Notification: TILMedia 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.3655/0.3655, allocations: 46.15 MB / 0.6552 GB, free: 30.23 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.5176, allocations: 89.05 MB / 0.7421 GB, free: 2.801 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater): time 0.00766/0.5252, allocations: 5.771 MB / 0.7478 GB, free: 13 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.5357, allocations: 7.207 MB / 0.7548 GB, free: 5.77 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005607/0.5363, allocations: 15.94 kB / 0.7548 GB, free: 5.754 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.001588/0.5379, allocations: 0.5129 MB / 0.7553 GB, free: 5.238 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0008989/0.5388, allocations: 417.8 kB / 0.7557 GB, free: 4.828 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.5401, allocations: 0.6264 MB / 0.7563 GB, free: 4.207 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.5414, allocations: 0.9923 MB / 0.7573 GB, free: 3.211 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.5419, allocations: 203.8 kB / 0.7575 GB, free: 3 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.5423, allocations: 378.2 kB / 0.7578 GB, free: 2.629 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007268/0.543, allocations: 0.5472 MB / 0.7584 GB, free: 2.082 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.5432, allocations: 100 kB / 0.7585 GB, free: 1.984 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000882/0.5441, allocations: 0.4992 MB / 0.759 GB, free: 1.484 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0004594/0.5445, allocations: 0.4905 MB / 0.7594 GB, free: 0.9922 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0005871/0.5451, allocations: 0.6441 MB / 0.7601 GB, free: 352 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.5475, allocations: 1.992 MB / 0.762 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5475, allocations: 0 / 0.762 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5475, allocations: 0 / 0.762 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.5475, allocations: 0 / 0.762 GB, free: 14.34 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.003593/0.5511, allocations: 2.164 MB / 0.7641 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.5512, allocations: 20.02 kB / 0.7641 GB, free: 12.1 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.446e-05/0.5512, allocations: 9.188 kB / 0.7642 GB, free: 12.09 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.905e-05/0.5513, allocations: 74.72 kB / 0.7642 GB, free: 12.01 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004949/0.5518, allocations: 207.7 kB / 0.7644 GB, free: 11.8 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/0.5554, allocations: 2.219 MB / 0.7666 GB, free: 9.547 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.5555, allocations: 29.38 kB / 0.7666 GB, free: 9.52 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.5555, allocations: 44.08 kB / 0.7667 GB, free: 9.477 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.5567, allocations: 0.493 MB / 0.7671 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5567, allocations: 3.938 kB / 0.7671 GB, free: 8.934 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.5568, allocations: 16 kB / 0.7672 GB, free: 8.918 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.5568, allocations: 12 kB / 0.7672 GB, free: 8.906 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.5579, allocations: 405.8 kB / 0.7676 GB, free: 8.508 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002985/0.5609, allocations: 2.151 MB / 0.7697 GB, free: 6.266 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009637/0.5618, allocations: 388.7 kB / 0.77 GB, free: 5.859 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.5623, allocations: 159 kB / 0.7702 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 7.569e-05/0.5623, allocations: 24.22 kB / 0.7702 GB, free: 5.672 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.5624, allocations: 42.73 kB / 0.7702 GB, free: 5.621 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.5624, allocations: 0 / 0.7702 GB, free: 5.621 MB / 0.5763 GB Notification: Performance of matching and sorting (n=34): time 0.001991/0.5644, allocations: 0.67 MB / 0.7709 GB, free: 4.945 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.5645, allocations: 187.9 kB / 0.7711 GB, free: 4.719 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/0.5674, allocations: 2.184 MB / 0.7732 GB, free: 2.484 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.5674, allocations: 37.69 kB / 0.7732 GB, free: 2.441 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006413/0.5681, allocations: 0.6687 MB / 0.7739 GB, free: 1.77 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.5682, allocations: 134.9 kB / 0.774 GB, free: 1.637 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.5684, allocations: 106.1 kB / 0.7741 GB, free: 1.527 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5685, allocations: 326 kB / 0.7744 GB, free: 1.203 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.569, allocations: 161 kB / 0.7746 GB, free: 1.047 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.5695, allocations: 289.2 kB / 0.7749 GB, free: 0.707 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009415/0.5704, allocations: 451.8 kB / 0.7753 GB, free: 228 kB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.5704, allocations: 7.938 kB / 0.7753 GB, free: 220 kB / 0.5763 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001349/0.5718, allocations: 0.6248 MB / 0.7759 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.5718, allocations: 4 kB / 0.7759 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5718, allocations: 4 kB / 0.7759 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.5718, allocations: 8 kB / 0.7759 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.5723, allocations: 107.9 kB / 0.776 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.5723, allocations: 11.92 kB / 0.776 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.5727, allocations: 59.64 kB / 0.7761 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.5728, allocations: 20 kB / 0.7761 GB, free: 15.38 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0005952/0.5734, allocations: 453.5 kB / 0.7766 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.5736, allocations: 170.9 kB / 0.7767 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.5748, allocations: 0.5545 MB / 0.7773 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.5748, allocations: 4 kB / 0.7773 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5748, allocations: 0 / 0.7773 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5748, allocations: 0 / 0.7773 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.576, allocations: 0.8668 MB / 0.7781 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.576, allocations: 0 / 0.7781 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.5763, allocations: 67.89 kB / 0.7782 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.5763, allocations: 4 kB / 0.7782 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.5764, allocations: 11.98 kB / 0.7782 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.5764, allocations: 3.938 kB / 0.7782 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5764, allocations: 4 kB / 0.7782 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.5779, allocations: 0.8191 MB / 0.779 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.5783, allocations: 319.9 kB / 0.7793 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.5784, allocations: 12.06 kB / 0.7793 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.5788, allocations: 23.97 kB / 0.7793 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.5789, allocations: 23.97 kB / 0.7794 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/0.5789, allocations: 12 kB / 0.7794 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002122/0.581, allocations: 1.57 MB / 0.7809 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3e-07/0.581, allocations: 0 / 0.7809 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007039/0.5817, allocations: 195.6 kB / 0.7811 GB, free: 10.12 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (turbinesAndReheat.energyStorage_HP_turbine.y,turbinesAndReheat.energyStroage_RH_IPLP_turbine.y,turbinesAndReheat_02_XRG.energyStorage_HP_turbine.y,turbinesAndReheat_02_XRG.energyStroage_RH_IPLP_turbine.y,turbinesAndReheat_00_XRG.energyStorage_HP_turbine.y,turbinesAndReheat_00_XRG.energyStroage_RH_IPLP_turbine.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.003594/0.5853, allocations: 1.815 MB / 0.7829 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009957/0.5863, allocations: 364.3 kB / 0.7832 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5863, allocations: 0.8125 kB / 0.7832 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.5867, allocations: 159.8 kB / 0.7834 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.5878, allocations: 192.9 kB / 0.7836 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/0.6047, allocations: 11.19 MB / 0.7945 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.6058, allocations: 1.269 MB / 0.7957 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006302/0.6065, allocations: 207 kB / 0.7959 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007251/0.6072, allocations: 0.5149 MB / 0.7964 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of SimCode: time 9.11e-07/0.6072, allocations: 0 / 0.7964 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0564/0.6636, allocations: 25.39 MB / 0.8212 GB, free: 0.9102 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.72, allocations: 11.91 kB / 0.8212 GB, free: 0.8984 MB / 0.6232 GB " [Timeout remaining time 788] (rm -f ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe ; mkfifo ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe >> ../files/ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater_res.mat --tempDir=temp_ClaRa_ClaRa_Components_Control_PredictorModels_3508_Check_TestReheater_fmu --startTime=0 --stopTime=3000 --stepSize=1.2 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Components_Control_PredictorModels_3508_Check_TestReheater.fmu > ClaRa_ClaRa.Components.Control.PredictorModels_3508.Check.TestReheater.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.074137174000498] Failed to read output from testmodel.py, exit status != 0: 12.16364316700492 12.178812486 11.628171324 Calling exit ...