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.001299/0.001299, 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.001234/0.001234, allocations: 196.2 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 286.8 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 178.5 MB / 0.5073 GB, free: 4.602 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 96.5 kB / 0.6065 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1421, allocations: 89.14 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03823/0.1803, allocations: 35.85 MB / 0.7286 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.1917, allocations: 8.003 MB / 0.7364 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006067/0.1923, allocations: 35.81 kB / 0.7365 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000958/0.1933, allocations: 421.3 kB / 0.7369 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.1962, allocations: 1.397 MB / 0.7382 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.1986, allocations: 1.116 MB / 0.7393 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002256/0.2008, allocations: 2.127 MB / 0.7414 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009073/0.2018, allocations: 0.7134 MB / 0.7421 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.2035, allocations: 0.8927 MB / 0.743 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000755/0.2043, allocations: 0.6107 MB / 0.7435 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.2044, allocations: 76 kB / 0.7436 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.2058, allocations: 0.7957 MB / 0.7444 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.2061, allocations: 211.4 kB / 0.7446 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004847/0.2065, allocations: 477.8 kB / 0.7451 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.2084, allocations: 1.519 MB / 0.7465 GB, free: 13.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2084, allocations: 0 / 0.7465 GB, free: 13.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2084, allocations: 0 / 0.7465 GB, free: 13.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.2085, allocations: 0 / 0.7465 GB, free: 13.84 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.001873/0.2103, allocations: 1.221 MB / 0.7477 GB, free: 12.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2104, allocations: 8.031 kB / 0.7477 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.2105, allocations: 114.6 kB / 0.7478 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.213, allocations: 295.6 kB / 0.7481 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.2141, allocations: 0.7296 MB / 0.7488 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.2142, allocations: 41.31 kB / 0.7489 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/0.2143, allocations: 63.94 kB / 0.7489 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.2161, allocations: 0.7915 MB / 0.7497 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.2162, allocations: 3.938 kB / 0.7497 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.2162, allocations: 28 kB / 0.7497 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.2163, allocations: 20 kB / 0.7498 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.2184, allocations: 0.61 MB / 0.7504 GB, free: 9.762 MB / 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.005017/0.2234, allocations: 3.981 MB / 0.7542 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.2253, allocations: 448.3 kB / 0.7547 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008536/0.2262, allocations: 213.3 kB / 0.7549 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006843/0.2269, allocations: 0.5259 MB / 0.7554 GB, free: 4.203 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.2269, allocations: 34.56 kB / 0.7554 GB, free: 4.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 3.727e-06/0.2269, allocations: 4 kB / 0.7554 GB, free: 4.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.003108/0.2301, allocations: 0.7801 MB / 0.7562 GB, free: 3.352 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.2301, allocations: 106.8 kB / 0.7563 GB, free: 3.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007725/0.2309, allocations: 0.5899 MB / 0.7569 GB, free: 2.625 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.231, allocations: 41.64 kB / 0.7569 GB, free: 2.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.2313, allocations: 387.6 kB / 0.7573 GB, free: 2.191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.814e-05/0.2314, allocations: 90.73 kB / 0.7574 GB, free: 2.102 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.2316, allocations: 106 kB / 0.7575 GB, free: 1.992 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2318, allocations: 366.7 kB / 0.7578 GB, free: 1.625 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008588/0.2326, allocations: 204.7 kB / 0.758 GB, free: 1.426 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009833/0.2336, allocations: 356.1 kB / 0.7584 GB, free: 1.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.2355, allocations: 0.5288 MB / 0.7589 GB, free: 440 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2355, allocations: 0 / 0.7589 GB, free: 440 kB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.2384/0.4739, allocations: 0.647 MB / 0.7595 GB, free: 68.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.474, allocations: 7 kB / 0.7595 GB, free: 68.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.474, allocations: 6.141 kB / 0.7595 GB, free: 68.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/0.4743, allocations: 61.55 kB / 0.7596 GB, free: 68.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/0.4751, allocations: 133.7 kB / 0.7597 GB, free: 68.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003687/0.4754, allocations: 0.6203 MB / 0.7603 GB, free: 67.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008124/0.4763, allocations: 83.81 kB / 0.7604 GB, free: 67.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.4763, allocations: 26 kB / 0.7604 GB, free: 67.89 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.0003008/0.4766, allocations: 221.7 kB / 0.7606 GB, free: 67.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.4768, allocations: 64.28 kB / 0.7607 GB, free: 67.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/0.4789, allocations: 0.6156 MB / 0.7613 GB, free: 67.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4789, allocations: 4 kB / 0.7613 GB, free: 67.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.4789, allocations: 8.25 kB / 0.7613 GB, free: 67.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001761/0.4807, allocations: 0.6998 MB / 0.762 GB, free: 67.35 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.4833, allocations: 1.295 MB / 0.7632 GB, free: 66.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4834, allocations: 1.875 kB / 0.7632 GB, free: 66.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/0.4839, allocations: 74.48 kB / 0.7633 GB, free: 66.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001647/0.4841, allocations: 55 kB / 0.7634 GB, free: 66.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.4842, allocations: 20.08 kB / 0.7634 GB, free: 66.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002991/0.4845, allocations: 0.6168 MB / 0.764 GB, free: 66.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4845, allocations: 6.016 kB / 0.764 GB, free: 66.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.4873, allocations: 0.9021 MB / 0.7649 GB, free: 65.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.4875, allocations: 199.2 kB / 0.7651 GB, free: 65.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.4876, allocations: 13.45 kB / 0.7651 GB, free: 65.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007985/0.4884, allocations: 50.88 kB / 0.7651 GB, free: 65.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.4885, allocations: 22.34 kB / 0.7651 GB, free: 65.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.4886, allocations: 28.06 kB / 0.7652 GB, free: 65.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000558/0.4891, allocations: 482.1 kB / 0.7656 GB, free: 65.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4891, allocations: 0 / 0.7656 GB, free: 65.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008052/0.49, allocations: 273.9 kB / 0.7659 GB, free: 65.55 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.003371/0.4933, allocations: 1.638 MB / 0.7675 GB, free: 64.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.4952, allocations: 0.5042 MB / 0.768 GB, free: 64.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4952, allocations: 0.5469 kB / 0.768 GB, free: 64.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008999/0.4961, allocations: 235.1 kB / 0.7682 GB, free: 64.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.4979, allocations: 403.4 kB / 0.7686 GB, free: 64.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009742/0.5076, allocations: 5.928 MB / 0.7744 GB, free: 61.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.508, allocations: 0.9215 MB / 0.7753 GB, free: 60.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006332/0.5086, allocations: 161.8 kB / 0.7754 GB, free: 60.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.5089, allocations: 273.3 kB / 0.7757 GB, free: 60.13 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.5089, allocations: 0 / 0.7757 GB, free: 60.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04879/0.5577, allocations: 22.25 MB / 0.7974 GB, free: 51.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.18, allocations: 18.94 kB / 0.7974 GB, free: 51.62 MB / 0.545 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)