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.005431/0.005431, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001292/0.001292, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.222/1.222, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001978/0.001978, allocations: 274.7 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8807/0.8807, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 92.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1381, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.3137/0.4518, allocations: 35.85 MB / 0.8009 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01045/0.4623, allocations: 8.015 MB / 0.8087 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.4635, allocations: 33.97 kB / 0.8088 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.4647, allocations: 434.7 kB / 0.8092 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003278/0.4679, allocations: 1.453 MB / 0.8106 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.4706, allocations: 1.124 MB / 0.8117 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.4731, allocations: 2.137 MB / 0.8138 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.4741, allocations: 0.721 MB / 0.8145 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.476, allocations: 0.913 MB / 0.8154 GB, free: 132 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007594/0.4768, allocations: 0.6065 MB / 0.816 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.4769, allocations: 78.53 kB / 0.816 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.4786, allocations: 0.8451 MB / 0.8169 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.4788, allocations: 205.9 kB / 0.8171 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004696/0.4793, allocations: 476.6 kB / 0.8175 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.4813, allocations: 1.531 MB / 0.819 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4813, allocations: 1.797 kB / 0.819 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4813, allocations: 0 / 0.819 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.4813, allocations: 0 / 0.819 GB, free: 14.6 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.001836/0.4831, allocations: 1.256 MB / 0.8202 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.4832, allocations: 11.02 kB / 0.8203 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.4833, allocations: 104.2 kB / 0.8204 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.4855, allocations: 297.4 kB / 0.8206 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.4868, allocations: 0.7744 MB / 0.8214 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.4869, allocations: 45.09 kB / 0.8214 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/0.487, allocations: 60.41 kB / 0.8215 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.4887, allocations: 0.7922 MB / 0.8223 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4887, allocations: 3.375 kB / 0.8223 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/0.4888, allocations: 26.59 kB / 0.8223 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.4888, allocations: 19.17 kB / 0.8223 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.4908, allocations: 0.6123 MB / 0.8229 GB, free: 12.41 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.004426/0.4952, allocations: 3.928 MB / 0.8267 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.497, allocations: 464.3 kB / 0.8272 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007737/0.4978, allocations: 207.2 kB / 0.8274 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005864/0.4984, allocations: 0.5206 MB / 0.8279 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.4984, allocations: 38.69 kB / 0.8279 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/0.4984, allocations: 0 / 0.8279 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.002826/0.5013, allocations: 0.7887 MB / 0.8287 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.5013, allocations: 104.9 kB / 0.8288 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006611/0.502, allocations: 0.5865 MB / 0.8294 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.502, allocations: 37.27 kB / 0.8294 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.5023, allocations: 396.9 kB / 0.8298 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.419e-05/0.5024, allocations: 91.66 kB / 0.8299 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.5026, allocations: 108.4 kB / 0.83 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5027, allocations: 371.3 kB / 0.8303 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000803/0.5035, allocations: 201 kB / 0.8305 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008843/0.5044, allocations: 359.4 kB / 0.8309 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.5061, allocations: 0.5242 MB / 0.8314 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5061, allocations: 1.5 kB / 0.8314 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001981/0.5081, allocations: 0.6521 MB / 0.832 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.5081, allocations: 8.906 kB / 0.832 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5081, allocations: 4.562 kB / 0.832 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.5084, allocations: 58.14 kB / 0.8321 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/0.5091, allocations: 137.9 kB / 0.8322 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000427/0.5095, allocations: 0.6177 MB / 0.8328 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/0.5103, allocations: 90.31 kB / 0.8329 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.5103, allocations: 23.98 kB / 0.8329 GB, free: 4.688 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.0002847/0.5106, allocations: 222.6 kB / 0.8331 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.5107, allocations: 70.8 kB / 0.8332 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.5128, allocations: 0.6154 MB / 0.8338 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.5128, allocations: 7.438 kB / 0.8338 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5128, allocations: 0 / 0.8338 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001748/0.5145, allocations: 0.6989 MB / 0.8345 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.5172, allocations: 1.315 MB / 0.8358 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5172, allocations: 1.406 kB / 0.8358 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.5178, allocations: 70 kB / 0.8359 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/0.518, allocations: 61.97 kB / 0.8359 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.518, allocations: 17.17 kB / 0.8359 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004003/0.5184, allocations: 0.6153 MB / 0.8365 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5184, allocations: 1.125 kB / 0.8365 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.5211, allocations: 0.8953 MB / 0.8374 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.5214, allocations: 210.4 kB / 0.8376 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.5215, allocations: 7.688 kB / 0.8376 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/0.5223, allocations: 53.59 kB / 0.8377 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.5224, allocations: 28.09 kB / 0.8377 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.5224, allocations: 29.38 kB / 0.8377 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005535/0.523, allocations: 484.5 kB / 0.8382 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.523, allocations: 0 / 0.8382 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008772/0.5239, allocations: 271.7 kB / 0.8384 GB, free: 0.7656 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.003416/0.5273, allocations: 1.649 MB / 0.8401 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.5291, allocations: 499.7 kB / 0.8405 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5292, allocations: 1.125 kB / 0.8405 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.53, allocations: 244.4 kB / 0.8408 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.5318, allocations: 392.2 kB / 0.8411 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.5425, allocations: 5.759 MB / 0.8468 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.543, allocations: 0.9332 MB / 0.8477 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006558/0.5437, allocations: 156.8 kB / 0.8478 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/0.5441, allocations: 273.5 kB / 0.8481 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/0.5441, allocations: 1.062 kB / 0.8481 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04412/0.5882, allocations: 22.43 MB / 0.87 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.89, allocations: 5.25 kB / 0.87 GB, free: 8.039 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)