Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser",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.005667/0.005667, allocations: 96.5 kB / 15.73 MB, free: 6.043 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.001529/0.001529, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002411/0.002411, allocations: 281.7 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9445/0.9445, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 95.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1564, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.3145/0.4709, allocations: 35.86 MB / 0.8009 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.4819, allocations: 8.006 MB / 0.8087 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009648/0.4829, allocations: 33.03 kB / 0.8088 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.484, allocations: 429.2 kB / 0.8092 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.4875, allocations: 1.395 MB / 0.8105 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.4905, allocations: 1.113 MB / 0.8116 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00309/0.4936, allocations: 2.131 MB / 0.8137 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.4948, allocations: 0.7225 MB / 0.8144 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.4969, allocations: 0.8901 MB / 0.8153 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008468/0.4978, allocations: 0.6147 MB / 0.8159 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.4979, allocations: 75.31 kB / 0.8159 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.4997, allocations: 0.8473 MB / 0.8168 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.5, allocations: 202 kB / 0.817 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005361/0.5005, allocations: 478.3 kB / 0.8174 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.5028, allocations: 1.53 MB / 0.8189 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5028, allocations: 5.062 kB / 0.8189 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5028, allocations: 0 / 0.8189 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.5029, allocations: 0 / 0.8189 GB, free: 14.75 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002034/0.5049, allocations: 1.253 MB / 0.8201 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.5049, allocations: 10.03 kB / 0.8202 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.5051, allocations: 101.2 kB / 0.8203 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.5072, allocations: 297.4 kB / 0.8205 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.5085, allocations: 0.7785 MB / 0.8213 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.5085, allocations: 47.91 kB / 0.8213 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.5087, allocations: 62.11 kB / 0.8214 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.5104, allocations: 0.7912 MB / 0.8222 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.5104, allocations: 5.375 kB / 0.8222 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.5105, allocations: 22.34 kB / 0.8222 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.5105, allocations: 21.88 kB / 0.8222 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.5124, allocations: 0.6135 MB / 0.8228 GB, free: 12.57 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.004547/0.517, allocations: 3.936 MB / 0.8267 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.5187, allocations: 454.3 kB / 0.8271 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/0.5194, allocations: 205.8 kB / 0.8273 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006452/0.5201, allocations: 0.52 MB / 0.8278 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.5201, allocations: 45.23 kB / 0.8278 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.5201, allocations: 0 / 0.8278 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.002755/0.5229, allocations: 0.7783 MB / 0.8286 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.523, allocations: 110.9 kB / 0.8287 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007034/0.5237, allocations: 0.591 MB / 0.8293 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.5237, allocations: 32.17 kB / 0.8293 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.524, allocations: 396.8 kB / 0.8297 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.953e-05/0.5242, allocations: 92.03 kB / 0.8298 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.5243, allocations: 103.8 kB / 0.8299 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.5245, allocations: 380.6 kB / 0.8302 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007589/0.5253, allocations: 196.5 kB / 0.8304 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000876/0.5262, allocations: 356.8 kB / 0.8308 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.5278, allocations: 0.5233 MB / 0.8313 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5278, allocations: 1.438 kB / 0.8313 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001931/0.5297, allocations: 0.65 MB / 0.8319 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.5298, allocations: 13.2 kB / 0.8319 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5298, allocations: 4.156 kB / 0.8319 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/0.53, allocations: 70.2 kB / 0.832 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.5307, allocations: 129.3 kB / 0.8321 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000504/0.5312, allocations: 0.6177 MB / 0.8327 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000707/0.5319, allocations: 85.95 kB / 0.8328 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.532, allocations: 29.69 kB / 0.8328 GB, free: 4.867 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002972/0.5323, allocations: 222.1 kB / 0.8331 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.5324, allocations: 66.56 kB / 0.8331 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.5344, allocations: 0.6189 MB / 0.8337 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.5344, allocations: 2.531 kB / 0.8337 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.5344, allocations: 3.938 kB / 0.8337 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00175/0.5362, allocations: 0.7039 MB / 0.8344 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.5389, allocations: 1.304 MB / 0.8357 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5389, allocations: 1.344 kB / 0.8357 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004919/0.5394, allocations: 80.08 kB / 0.8358 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/0.5396, allocations: 53.17 kB / 0.8358 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.5396, allocations: 25.72 kB / 0.8358 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004746/0.5401, allocations: 0.6142 MB / 0.8364 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5401, allocations: 1.219 kB / 0.8364 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.5427, allocations: 0.8979 MB / 0.8373 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.543, allocations: 206.9 kB / 0.8375 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.593e-05/0.5431, allocations: 12.42 kB / 0.8375 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006988/0.5438, allocations: 51.38 kB / 0.8376 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.5439, allocations: 25.17 kB / 0.8376 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.716e-05/0.544, allocations: 28.42 kB / 0.8376 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006047/0.5446, allocations: 484 kB / 0.8381 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5446, allocations: 1.312 kB / 0.8381 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008706/0.5455, allocations: 271.4 kB / 0.8383 GB, free: 0.9492 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003567/0.5491, allocations: 1.637 MB / 0.8399 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.5508, allocations: 0.4952 MB / 0.8404 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.5509, allocations: 1.125 kB / 0.8404 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008567/0.5517, allocations: 240.1 kB / 0.8407 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.5534, allocations: 392.5 kB / 0.841 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.5636, allocations: 5.759 MB / 0.8467 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.5642, allocations: 0.9252 MB / 0.8476 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006362/0.5649, allocations: 158 kB / 0.8477 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.5653, allocations: 269.2 kB / 0.848 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.5653, allocations: 1.406 kB / 0.848 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05447/0.6198, allocations: 22.45 MB / 0.8699 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.51, allocations: 1.5 kB / 0.8699 GB, free: 8.246 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)