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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 105.5 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 191.9 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8167/0.8167, allocations: 126.7 MB / 417.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.89 kB / 0.4958 GB, free: 2.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3303, allocations: 78.86 MB / 0.5729 GB, free: 31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.5419/0.8722, allocations: 224.8 MB / 0.7923 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.8882, allocations: 12.66 MB / 0.8047 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.891, allocations: 69.62 kB / 0.8048 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.8934, allocations: 1.194 MB / 0.8059 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007656/0.9011, allocations: 3.151 MB / 0.809 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.9054, allocations: 1.8 MB / 0.8108 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005775/0.9112, allocations: 4.182 MB / 0.8149 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.9133, allocations: 1.397 MB / 0.8162 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00509/0.9184, allocations: 2.117 MB / 0.8183 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.9205, allocations: 1.379 MB / 0.8196 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.9208, allocations: 181.5 kB / 0.8198 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004744/0.9255, allocations: 2.661 MB / 0.8224 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007536/0.9263, allocations: 0.9783 MB / 0.8234 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.9278, allocations: 1.438 MB / 0.8248 GB, free: 100 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006949/0.9348, allocations: 4.739 MB / 0.8294 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.9348, allocations: 1 kB / 0.8294 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9348, allocations: 0 / 0.8294 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.806e-05/0.9349, allocations: 0 / 0.8294 GB, free: 14.77 MB / 0.5919 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.006817/0.9417, allocations: 3.373 MB / 0.8327 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.9417, allocations: 10.41 kB / 0.8327 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000235/0.942, allocations: 174.4 kB / 0.8329 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004308/0.9463, allocations: 0.8046 MB / 0.8336 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006664/0.953, allocations: 6.205 MB / 0.8397 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006869/0.9537, allocations: 233 kB / 0.8399 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.9539, allocations: 110.2 kB / 0.84 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/0.9576, allocations: 2.063 MB / 0.842 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.9576, allocations: 2.531 kB / 0.842 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.9577, allocations: 48 kB / 0.8421 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-05/0.9578, allocations: 42.06 kB / 0.8421 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004941/0.9627, allocations: 2.585 MB / 0.8447 GB, free: 3.699 MB / 0.5919 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.01367/0.9764, allocations: 9.562 MB / 0.854 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/0.9807, allocations: 2.182 MB / 0.8561 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.9826, allocations: 0.9541 MB / 0.8571 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/0.9838, allocations: 1.056 MB / 0.8581 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001945/0.9857, allocations: 1.023 MB / 0.8591 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=91): time 2.966e-06/0.9857, allocations: 0 / 0.8591 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91): time 0.02386/1.01, allocations: 5.966 MB / 0.8649 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.01, allocations: 149.2 kB / 0.8651 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/1.022, allocations: 8.886 MB / 0.8737 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002484/1.022, allocations: 45.7 kB / 0.8738 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/1.023, allocations: 1.108 MB / 0.8749 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003631/1.024, allocations: 297.2 kB / 0.8751 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000421/1.024, allocations: 224.4 kB / 0.8754 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.024, allocations: 341.9 kB / 0.8757 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/1.026, allocations: 1.099 MB / 0.8768 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/1.029, allocations: 1.316 MB / 0.878 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004002/1.033, allocations: 2.19 MB / 0.8802 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.033, allocations: 0 / 0.8802 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008878/1.042, allocations: 3.706 MB / 0.8838 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-05/1.042, allocations: 75.33 kB / 0.8839 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.042, allocations: 8.703 kB / 0.8839 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004774/1.047, allocations: 1.978 MB / 0.8858 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/1.048, allocations: 189.3 kB / 0.886 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009843/1.057, allocations: 6.795 MB / 0.8926 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/1.06, allocations: 250.9 kB / 0.8929 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/1.06, allocations: 51.97 kB / 0.8929 GB, free: 1.199 MB / 0.6387 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.00129/1.062, allocations: 0.6662 MB / 0.8936 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008952/1.062, allocations: 264.7 kB / 0.8938 GB, free: 264 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008412/1.071, allocations: 3.216 MB / 0.897 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/1.071, allocations: 8 kB / 0.897 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.071, allocations: 4 kB / 0.897 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/1.071, allocations: 11.91 kB / 0.897 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/1.084, allocations: 5.907 MB / 0.9028 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.084, allocations: 4 kB / 0.9028 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006656/1.085, allocations: 102.5 kB / 0.9029 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00453/1.09, allocations: 1.971 MB / 0.9048 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.326e-05/1.09, allocations: 31.98 kB / 0.9048 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009356/1.099, allocations: 6.723 MB / 0.9114 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.099, allocations: 7.25 kB / 0.9114 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0085/1.108, allocations: 3.283 MB / 0.9146 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/1.109, allocations: 0.6144 MB / 0.9152 GB, free: 9.871 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007892/1.11, allocations: 24 kB / 0.9152 GB, free: 9.848 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/1.112, allocations: 131.9 kB / 0.9153 GB, free: 9.719 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/1.112, allocations: 76.5 kB / 0.9154 GB, free: 9.645 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.112, allocations: 43.08 kB / 0.9155 GB, free: 9.605 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008914/1.121, allocations: 6.843 MB / 0.9221 GB, free: 2.762 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.31e-07/1.121, allocations: 0 / 0.9221 GB, free: 2.762 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002801/1.124, allocations: 0.7259 MB / 0.9228 GB, free: 2.035 MB / 0.67 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.01011/1.134, allocations: 4.25 MB / 0.927 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005818/1.14, allocations: 2.679 MB / 0.9296 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.14, allocations: 0 / 0.9296 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002827/1.143, allocations: 1.429 MB / 0.931 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005525/1.149, allocations: 1.015 MB / 0.932 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0728/1.221, allocations: 45.32 MB / 0.9763 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/1.223, allocations: 1.68 MB / 0.9779 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0019/1.225, allocations: 437.1 kB / 0.9783 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/1.227, allocations: 0.9562 MB / 0.9792 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of SimCode: time 1.373e-06/1.227, allocations: 0 / 0.9792 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4129/1.64, allocations: 80.66 MB / 1.058 GB, free: 356.7 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/15.37, allocations: 10.11 kB / 1.058 GB, free: 356.7 MB / 0.7794 GB (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)