Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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.001842/0.001842, allocations: 109.1 kB / 17.12 MB, free: 5.926 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.00234/0.00234, allocations: 205 kB / 20.09 MB, free: 2.977 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.517/1.517, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.992/0.992, allocations: 150 MB / 459.5 MB, free: 5.309 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002005/0.002005, allocations: 74.92 kB / 0.6361 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1601, allocations: 89.13 MB / 0.7231 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.644/0.8041, allocations: 228.7 MB / 0.9465 GB, free: 1.492 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01802/0.8221, allocations: 12.72 MB / 0.9589 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003266/0.8254, allocations: 94.5 kB / 0.959 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.8286, allocations: 1.241 MB / 0.9602 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009017/0.8376, allocations: 3.274 MB / 0.9634 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005031/0.8426, allocations: 1.841 MB / 0.9652 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005895/0.8485, allocations: 4.169 MB / 0.9693 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.8503, allocations: 1.179 MB / 0.9704 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005082/0.8554, allocations: 2.174 MB / 0.9726 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.8578, allocations: 1.468 MB / 0.974 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003101/0.8582, allocations: 186.4 kB / 0.9742 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005417/0.8636, allocations: 2.8 MB / 0.9769 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001/0.8646, allocations: 1.006 MB / 0.9779 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002172/0.8667, allocations: 1.444 MB / 0.9793 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008882/0.8756, allocations: 4.83 MB / 0.984 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.8756, allocations: 0 / 0.984 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.083e-06/0.8756, allocations: 0 / 0.984 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.507e-05/0.8757, allocations: 0 / 0.984 GB, free: 0.8359 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.007713/0.8834, allocations: 3.485 MB / 0.9874 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.8835, allocations: 12.03 kB / 0.9874 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.8837, allocations: 163.1 kB / 0.9876 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005197/0.8889, allocations: 0.8288 MB / 0.9884 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009594/0.8985, allocations: 6.299 MB / 0.9946 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.8987, allocations: 123.8 kB / 0.9947 GB, free: 5.844 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.8991, allocations: 108 kB / 0.9948 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004791/0.9039, allocations: 2.061 MB / 0.9968 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.9039, allocations: 0 / 0.9968 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.9041, allocations: 44 kB / 0.9968 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.769e-05/0.9042, allocations: 38.08 kB / 0.9969 GB, free: 3.527 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005419/0.9096, allocations: 2.561 MB / 0.9994 GB, free: 0.957 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/0.9268, allocations: 9.534 MB / 1.009 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004559/0.9313, allocations: 2.09 MB / 1.011 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/0.9333, allocations: 0.8936 MB / 1.012 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/0.9347, allocations: 1.062 MB / 1.013 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002174/0.9369, allocations: 1.024 MB / 1.014 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=91): time 3.026e-06/0.9369, allocations: 0 / 1.014 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91): time 0.02561/0.9625, allocations: 5.949 MB / 1.019 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.9626, allocations: 153.1 kB / 1.02 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01325/0.9758, allocations: 8.879 MB / 1.028 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002716/0.9761, allocations: 45.7 kB / 1.028 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.9774, allocations: 1.119 MB / 1.029 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005147/0.9779, allocations: 314 kB / 1.03 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005334/0.9785, allocations: 218.5 kB / 1.03 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.9786, allocations: 349.9 kB / 1.03 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.9808, allocations: 1.092 MB / 1.031 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/0.9832, allocations: 1.297 MB / 1.033 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004162/0.9873, allocations: 2.179 MB / 1.035 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.9874, allocations: 0 / 1.035 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009239/0.9966, allocations: 3.688 MB / 1.038 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9e-05/0.9967, allocations: 72.33 kB / 1.038 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.9967, allocations: 4 kB / 1.038 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005106/1.002, allocations: 1.983 MB / 1.04 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.003, allocations: 183.8 kB / 1.04 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/1.013, allocations: 6.799 MB / 1.047 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/1.016, allocations: 242.9 kB / 1.047 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/1.016, allocations: 51.97 kB / 1.047 GB, free: 14.53 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001278/1.017, allocations: 0.657 MB / 1.048 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008098/1.018, allocations: 286.2 kB / 1.048 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008676/1.027, allocations: 3.199 MB / 1.051 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/1.027, allocations: 11.98 kB / 1.051 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.027, allocations: 0 / 1.051 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/1.027, allocations: 7.984 kB / 1.051 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/1.041, allocations: 5.889 MB / 1.057 GB, free: 4.328 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.041, allocations: 4 kB / 1.057 GB, free: 4.324 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/1.042, allocations: 104.2 kB / 1.057 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004974/1.047, allocations: 1.971 MB / 1.059 GB, free: 2.238 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/1.047, allocations: 31.98 kB / 1.059 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009912/1.057, allocations: 6.73 MB / 1.066 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.057, allocations: 3.938 kB / 1.066 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008763/1.065, allocations: 3.272 MB / 1.069 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/1.067, allocations: 0.6354 MB / 1.07 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000712/1.068, allocations: 24 kB / 1.07 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/1.07, allocations: 128.5 kB / 1.07 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/1.07, allocations: 72.52 kB / 1.07 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.071, allocations: 47.91 kB / 1.07 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.009216/1.08, allocations: 6.835 MB / 1.077 GB, free: 40 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/1.08, allocations: 0 / 1.077 GB, free: 40 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003199/1.083, allocations: 0.7373 MB / 1.077 GB, free: 15.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01046/1.093, allocations: 4.203 MB / 1.081 GB, free: 11.04 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005692/1.099, allocations: 2.529 MB / 1.084 GB, free: 8.465 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.099, allocations: 448 / 1.084 GB, free: 8.465 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002846/1.102, allocations: 1.339 MB / 1.085 GB, free: 7.074 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00592/1.108, allocations: 1.032 MB / 1.086 GB, free: 6.055 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07214/1.18, allocations: 41.49 MB / 1.127 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/1.182, allocations: 1.68 MB / 1.128 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001876/1.184, allocations: 435 kB / 1.129 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/1.185, allocations: 0.9601 MB / 1.13 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of SimCode: time 1.263e-06/1.185, allocations: 0 / 1.13 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1536/1.339, allocations: 78.87 MB / 1.207 GB, free: 10.93 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/19.68, allocations: 10.23 kB / 1.207 GB, free: 10.92 MB / 0.92 GB " [Timeout remaining time 640] (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.065776824951172] Failed to read output from testmodel.py, exit status != 0: 19.819617803907022 20.157134346 18.960653155 Calling exit ...