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.001008/0.001008, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009958/0.0009959, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 294.6 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9517/0.9517, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 100 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.136, allocations: 86.97 MB / 0.6803 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03357/0.1696, allocations: 35.84 MB / 0.7153 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.1799, allocations: 8.012 MB / 0.7231 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008749/0.1808, allocations: 35.81 kB / 0.7231 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.182, allocations: 417.3 kB / 0.7235 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.1853, allocations: 1.396 MB / 0.7249 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.1879, allocations: 1.113 MB / 0.726 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002326/0.1902, allocations: 2.127 MB / 0.7281 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000974/0.1912, allocations: 0.7056 MB / 0.7288 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.193, allocations: 0.9066 MB / 0.7296 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008912/0.1939, allocations: 0.6107 MB / 0.7302 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.1941, allocations: 76 kB / 0.7303 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.1956, allocations: 0.7847 MB / 0.7311 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.1959, allocations: 219.2 kB / 0.7313 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005261/0.1964, allocations: 473.8 kB / 0.7317 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.1982, allocations: 1.523 MB / 0.7332 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1983, allocations: 4 kB / 0.7332 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1983, allocations: 0 / 0.7332 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.096e-05/0.1983, allocations: 0 / 0.7332 GB, free: 10.24 MB / 0.5294 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.001914/0.2002, allocations: 1.217 MB / 0.7344 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2003, allocations: 8.031 kB / 0.7344 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.2004, allocations: 106.6 kB / 0.7345 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/0.2028, allocations: 295.6 kB / 0.7348 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.204, allocations: 0.7375 MB / 0.7355 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.2041, allocations: 45.3 kB / 0.7356 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/0.2042, allocations: 64 kB / 0.7356 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.2059, allocations: 0.7953 MB / 0.7364 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.2059, allocations: 3.938 kB / 0.7364 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.582e-05/0.206, allocations: 28 kB / 0.7364 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.206, allocations: 16 kB / 0.7365 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.208, allocations: 0.6139 MB / 0.7371 GB, free: 6.16 MB / 0.5294 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.004585/0.2126, allocations: 3.977 MB / 0.7409 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.2145, allocations: 451.4 kB / 0.7414 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000821/0.2153, allocations: 212.6 kB / 0.7416 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006009/0.2159, allocations: 0.5181 MB / 0.7421 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.2159, allocations: 34.56 kB / 0.7421 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 3.146e-06/0.216, allocations: 0 / 0.7421 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.002977/0.2189, allocations: 0.784 MB / 0.7429 GB, free: 15.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.219, allocations: 106.8 kB / 0.743 GB, free: 15.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006743/0.2197, allocations: 0.586 MB / 0.7435 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.2197, allocations: 33.7 kB / 0.7436 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.22, allocations: 387.6 kB / 0.7439 GB, free: 14.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.098e-05/0.2201, allocations: 98.58 kB / 0.744 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.2203, allocations: 106 kB / 0.7441 GB, free: 14.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2204, allocations: 370.7 kB / 0.7445 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008185/0.2212, allocations: 208.6 kB / 0.7447 GB, free: 13.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009219/0.2222, allocations: 351.4 kB / 0.745 GB, free: 13.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.2239, allocations: 0.5255 MB / 0.7455 GB, free: 12.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2239, allocations: 4 kB / 0.7455 GB, free: 12.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002056/0.226, allocations: 0.6467 MB / 0.7462 GB, free: 12.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.226, allocations: 8 kB / 0.7462 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.226, allocations: 7.984 kB / 0.7462 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/0.2263, allocations: 61.23 kB / 0.7463 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/0.227, allocations: 139.8 kB / 0.7464 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004648/0.2275, allocations: 0.6226 MB / 0.747 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/0.2283, allocations: 77.38 kB / 0.7471 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.2283, allocations: 27.97 kB / 0.7471 GB, free: 11.21 MB / 0.545 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.0002899/0.2286, allocations: 218.4 kB / 0.7473 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.2288, allocations: 71.25 kB / 0.7474 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.2309, allocations: 0.6205 MB / 0.748 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.2309, allocations: 7.938 kB / 0.748 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2309, allocations: 64 / 0.748 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001842/0.2328, allocations: 0.7104 MB / 0.7487 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.2355, allocations: 1.294 MB / 0.7499 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2355, allocations: 0 / 0.7499 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.2361, allocations: 79.98 kB / 0.75 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000175/0.2363, allocations: 56.83 kB / 0.7501 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.2363, allocations: 23.91 kB / 0.7501 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004196/0.2367, allocations: 0.6147 MB / 0.7507 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2367, allocations: 3.938 kB / 0.7507 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/0.2395, allocations: 0.8859 MB / 0.7516 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.2398, allocations: 208.2 kB / 0.7518 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.2399, allocations: 4 kB / 0.7518 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/0.2407, allocations: 52 kB / 0.7518 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.2408, allocations: 23.92 kB / 0.7518 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.2408, allocations: 27.95 kB / 0.7519 GB, free: 6.074 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005735/0.2414, allocations: 483 kB / 0.7523 GB, free: 5.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2414, allocations: 4 kB / 0.7523 GB, free: 5.605 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008024/0.2422, allocations: 271.5 kB / 0.7526 GB, free: 5.34 MB / 0.545 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.003532/0.2458, allocations: 1.635 MB / 0.7542 GB, free: 3.672 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001937/0.2477, allocations: 0.4923 MB / 0.7547 GB, free: 3.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.2477, allocations: 4.062 kB / 0.7547 GB, free: 3.176 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008992/0.2487, allocations: 239.9 kB / 0.7549 GB, free: 2.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.2504, allocations: 386.9 kB / 0.7553 GB, free: 2.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.261, allocations: 5.939 MB / 0.7611 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.2615, allocations: 0.9257 MB / 0.762 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006985/0.2623, allocations: 160.2 kB / 0.7621 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.2626, allocations: 271.2 kB / 0.7624 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of SimCode: time 3.938e-06/0.2627, allocations: 0 / 0.7624 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2763/0.5389, allocations: 22.24 MB / 0.7841 GB, free: 90.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.22, allocations: 11.81 kB / 0.7841 GB, free: 90.56 MB / 0.5606 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)