Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="IDEAS_IDEAS_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.004277/0.004277, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001041/0.001041, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7584/0.7584, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 66.47 kB / 0.5808 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1203, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03256/0.1529, allocations: 35.86 MB / 0.6942 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.1632, allocations: 7.987 MB / 0.702 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009127/0.1641, allocations: 31.81 kB / 0.702 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.1652, allocations: 445.3 kB / 0.7025 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.1684, allocations: 1.449 MB / 0.7039 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.1709, allocations: 1.123 MB / 0.705 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002335/0.1733, allocations: 2.131 MB / 0.7071 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009115/0.1742, allocations: 0.7251 MB / 0.7078 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.176, allocations: 0.9201 MB / 0.7087 GB, free: 7.941 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007278/0.1768, allocations: 0.6068 MB / 0.7093 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.1769, allocations: 76 kB / 0.7093 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.1785, allocations: 0.8542 MB / 0.7102 GB, free: 6.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.1787, allocations: 207.3 kB / 0.7104 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.1792, allocations: 473.9 kB / 0.7108 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001965/0.1812, allocations: 1.53 MB / 0.7123 GB, free: 4.199 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1812, allocations: 0 / 0.7123 GB, free: 4.199 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1812, allocations: 0 / 0.7123 GB, free: 4.199 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.1812, allocations: 0 / 0.7123 GB, free: 4.199 MB / 0.545 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.001787/0.183, allocations: 1.262 MB / 0.7135 GB, free: 2.875 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1831, allocations: 8.031 kB / 0.7135 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.1832, allocations: 98.7 kB / 0.7136 GB, free: 2.762 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.1855, allocations: 299.5 kB / 0.7139 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.1867, allocations: 0.7652 MB / 0.7147 GB, free: 1.664 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.1868, allocations: 49.31 kB / 0.7147 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/0.1869, allocations: 56 kB / 0.7148 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.1886, allocations: 0.7992 MB / 0.7155 GB, free: 0.707 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1886, allocations: 3.984 kB / 0.7156 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.937e-05/0.1887, allocations: 27.94 kB / 0.7156 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.1887, allocations: 19.94 kB / 0.7156 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.1907, allocations: 0.6139 MB / 0.7162 GB, free: 40 kB / 0.545 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.004477/0.1952, allocations: 3.928 MB / 0.72 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.197, allocations: 458.7 kB / 0.7205 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008092/0.1979, allocations: 208.6 kB / 0.7207 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/0.1985, allocations: 0.5259 MB / 0.7212 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1985, allocations: 34.56 kB / 0.7212 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.754e-06/0.1985, allocations: 0 / 0.7212 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26): time 0.00298/0.2015, allocations: 0.7836 MB / 0.722 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.2016, allocations: 114.8 kB / 0.7221 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006681/0.2022, allocations: 0.5899 MB / 0.7227 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.2023, allocations: 33.7 kB / 0.7227 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.2026, allocations: 392.5 kB / 0.7231 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.318e-05/0.2027, allocations: 95.16 kB / 0.7232 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.2028, allocations: 110 kB / 0.7233 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.203, allocations: 366.8 kB / 0.7236 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008342/0.2038, allocations: 204.7 kB / 0.7238 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009269/0.2047, allocations: 355.3 kB / 0.7242 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.2064, allocations: 0.5249 MB / 0.7247 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2065, allocations: 4 kB / 0.7247 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002073/0.2085, allocations: 0.6471 MB / 0.7253 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2086, allocations: 11.94 kB / 0.7253 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.2086, allocations: 4 kB / 0.7253 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.2088, allocations: 64.75 kB / 0.7254 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/0.2096, allocations: 144.2 kB / 0.7255 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000448/0.21, allocations: 0.6109 MB / 0.7261 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/0.2108, allocations: 83.69 kB / 0.7262 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.2108, allocations: 23.98 kB / 0.7262 GB, free: 5.105 MB / 0.5606 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.0003078/0.2111, allocations: 229.6 kB / 0.7264 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.2113, allocations: 63.62 kB / 0.7265 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.2134, allocations: 0.6131 MB / 0.7271 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.2134, allocations: 7.984 kB / 0.7271 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2134, allocations: 0 / 0.7271 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001787/0.2152, allocations: 0.6984 MB / 0.7278 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.218, allocations: 1.3 MB / 0.7291 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.218, allocations: 4.094 kB / 0.7291 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/0.2186, allocations: 79.89 kB / 0.7291 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.2187, allocations: 56.77 kB / 0.7292 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.2188, allocations: 11.98 kB / 0.7292 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004146/0.2192, allocations: 0.6188 MB / 0.7298 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2192, allocations: 4.031 kB / 0.7298 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.222, allocations: 0.8985 MB / 0.7307 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.2223, allocations: 204.5 kB / 0.7309 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.2224, allocations: 8 kB / 0.7309 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007844/0.2232, allocations: 52.06 kB / 0.7309 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.2233, allocations: 31.97 kB / 0.731 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/0.2234, allocations: 27.91 kB / 0.731 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005865/0.224, allocations: 483 kB / 0.7315 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.224, allocations: 0 / 0.7315 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008019/0.2248, allocations: 271.4 kB / 0.7317 GB, free: 15.23 MB / 0.5762 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.003531/0.2283, allocations: 1.655 MB / 0.7333 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.2302, allocations: 0.4884 MB / 0.7338 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.2303, allocations: 4 kB / 0.7338 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009148/0.2312, allocations: 236.2 kB / 0.734 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.233, allocations: 393.9 kB / 0.7344 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.2433, allocations: 5.777 MB / 0.7401 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.2438, allocations: 0.9178 MB / 0.7409 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005893/0.2444, allocations: 157.1 kB / 0.7411 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.2448, allocations: 283.2 kB / 0.7414 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.2448, allocations: 0 / 0.7414 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2857/0.5305, allocations: 22.35 MB / 0.7632 GB, free: 80.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.18, allocations: 26.75 kB / 0.7632 GB, free: 80.11 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)