Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",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.001035/0.001035, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009495/0.0009496, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7635/0.7635, allocations: 89.65 MB / 380.6 MB, free: 11.41 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004058, allocations: 10.75 kB / 460 MB, free: 24.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 68.84 MB / 0.5165 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.573/0.7148, allocations: 225.8 MB / 0.737 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0375/0.7523, allocations: 30.97 MB / 0.7672 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003439/0.7558, allocations: 43.75 kB / 0.7673 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00423/0.7601, allocations: 1.155 MB / 0.7684 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.773, allocations: 2.988 MB / 0.7713 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0113/0.7844, allocations: 2.684 MB / 0.7739 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006754/0.7912, allocations: 2.31 MB / 0.7762 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/0.7932, allocations: 0.5936 MB / 0.7768 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005589/0.7989, allocations: 1.784 MB / 0.7785 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002635/0.8015, allocations: 1.089 MB / 0.7796 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000952/0.8025, allocations: 116 kB / 0.7797 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02029/0.8228, allocations: 6.602 MB / 0.7861 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.8239, allocations: 406.2 kB / 0.7865 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.8254, allocations: 484.4 kB / 0.787 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008088/0.8335, allocations: 3.184 MB / 0.7901 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8335, allocations: 0 / 0.7901 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.237e-06/0.8335, allocations: 0 / 0.7901 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000138/0.8337, allocations: 0 / 0.7901 GB, free: 1.656 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.008102/0.8418, allocations: 2.928 MB / 0.7929 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.8418, allocations: 8.031 kB / 0.793 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007985/0.8426, allocations: 291.3 kB / 0.7932 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004744/0.8474, allocations: 0.5628 MB / 0.7938 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.8501, allocations: 1.162 MB / 0.7949 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004895/0.8506, allocations: 417.7 kB / 0.7953 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005581/0.8512, allocations: 215.8 kB / 0.7955 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005378/0.8565, allocations: 2.35 MB / 0.7978 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.8566, allocations: 3.984 kB / 0.7978 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.8569, allocations: 84 kB / 0.7979 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.857, allocations: 76.92 kB / 0.798 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004282/0.8613, allocations: 1.929 MB / 0.7999 GB, free: 7.352 MB / 0.6075 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.3147/1.176, allocations: 9.228 MB / 0.8089 GB, free: 224.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004868/1.181, allocations: 2.047 MB / 0.8109 GB, free: 224.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/1.182, allocations: 2.614 MB / 0.8134 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.182, allocations: 51.25 kB / 0.8135 GB, free: 221 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=174): time 3.767e-06/1.182, allocations: 0 / 0.8135 GB, free: 221 MB / 0.6075 GB Notification: Performance of matching and sorting (n=176): time 0.01638/1.199, allocations: 7.057 MB / 0.8204 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/1.199, allocations: 70.78 kB / 0.8204 GB, free: 218.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/1.2, allocations: 1.186 MB / 0.8216 GB, free: 217.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002548/1.201, allocations: 58.27 kB / 0.8216 GB, free: 217.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/1.201, allocations: 0.8671 MB / 0.8225 GB, free: 217.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/1.202, allocations: 0.5946 MB / 0.8231 GB, free: 216.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.202, allocations: 34.38 kB / 0.8231 GB, free: 216.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.202, allocations: 368.6 kB / 0.8235 GB, free: 216.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/1.203, allocations: 0.7371 MB / 0.8242 GB, free: 216.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/1.205, allocations: 0.8846 MB / 0.825 GB, free: 215.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/1.207, allocations: 0.7965 MB / 0.8258 GB, free: 215.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.207, allocations: 1.031 kB / 0.8258 GB, free: 215.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00717/1.214, allocations: 2.899 MB / 0.8286 GB, free: 214.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/1.214, allocations: 5.969 kB / 0.8287 GB, free: 214.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/1.214, allocations: 3.016 kB / 0.8287 GB, free: 214.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/1.216, allocations: 0.6348 MB / 0.8293 GB, free: 214.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/1.218, allocations: 429.3 kB / 0.8297 GB, free: 214.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/1.23, allocations: 9.808 MB / 0.8393 GB, free: 206.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/1.232, allocations: 148.8 kB / 0.8394 GB, free: 206.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/1.232, allocations: 124.5 kB / 0.8395 GB, free: 206.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (169): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,88.9%) 1,(3,88.9%) 15,(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000876/1.233, allocations: 360.4 kB / 0.8399 GB, free: 206.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/1.233, allocations: 180 kB / 0.84 GB, free: 206.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008751/1.242, allocations: 4.264 MB / 0.8442 GB, free: 205 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.242, allocations: 19.72 kB / 0.8442 GB, free: 205 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/1.242, allocations: 3.969 kB / 0.8442 GB, free: 205 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/1.242, allocations: 9.656 kB / 0.8442 GB, free: 205 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009637/1.252, allocations: 5.347 MB / 0.8495 GB, free: 202 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/1.252, allocations: 3.984 kB / 0.8495 GB, free: 202 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/1.254, allocations: 417.2 kB / 0.8499 GB, free: 201.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/1.255, allocations: 0.6468 MB / 0.8505 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/1.256, allocations: 79.23 kB / 0.8506 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/1.266, allocations: 9.835 MB / 0.8602 GB, free: 193.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.266, allocations: 0 / 0.8602 GB, free: 193.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007609/1.273, allocations: 4.045 MB / 0.8641 GB, free: 189.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008907/1.274, allocations: 414.5 kB / 0.8645 GB, free: 189.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/1.275, allocations: 43.95 kB / 0.8646 GB, free: 189.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.276, allocations: 151.8 kB / 0.8647 GB, free: 189.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/1.276, allocations: 165.7 kB / 0.8649 GB, free: 188.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/1.276, allocations: 111.9 kB / 0.865 GB, free: 188.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009058/1.277, allocations: 0.8066 MB / 0.8658 GB, free: 188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/1.277, allocations: 0 / 0.8658 GB, free: 188 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002814/1.28, allocations: 0.8717 MB / 0.8666 GB, free: 187.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.dp_int) * 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 (160): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1,(3,88.9%) 1,(3,88.9%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009276/1.289, allocations: 6.082 MB / 0.8725 GB, free: 181.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00511/1.294, allocations: 2.848 MB / 0.8753 GB, free: 178.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.294, allocations: 0 / 0.8753 GB, free: 178.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003457/1.298, allocations: 2.032 MB / 0.8773 GB, free: 176.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/1.3, allocations: 474.8 kB / 0.8778 GB, free: 175.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/1.323, allocations: 14.75 MB / 0.8922 GB, free: 160.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008331/1.324, allocations: 1.519 MB / 0.8936 GB, free: 158.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003377/1.328, allocations: 1.393 MB / 0.895 GB, free: 157.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/1.329, allocations: 1.007 MB / 0.896 GB, free: 156.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/1.329, allocations: 4 kB / 0.896 GB, free: 156.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08142/1.411, allocations: 56.88 MB / 0.9515 GB, free: 99.85 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/1.411, allocations: 265.5 kB / 0.9518 GB, free: 99.49 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.273/5.684, allocations: 0 / 0.9518 GB, free: 99.49 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat does not exist to compare? outputFormat=mat