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.001123/0.001123, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00127/0.00127, allocations: 168.7 kB / 15.95 MB, free: 204 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.405/1.405, allocations: 223.2 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6948/0.6948, allocations: 89.66 MB / 380.7 MB, free: 11.37 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 11.88 kB / 460.2 MB, free: 24.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 68.83 MB / 0.5166 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.5724/0.7209, allocations: 282.4 MB / 0.7923 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.4955/1.216, allocations: 35.12 MB / 0.8266 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002657/1.219, allocations: 49.12 kB / 0.8267 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004073/1.223, allocations: 1.144 MB / 0.8278 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009324/1.233, allocations: 2.84 MB / 0.8306 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009445/1.242, allocations: 2.616 MB / 0.8331 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008381/1.251, allocations: 3.609 MB / 0.8366 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002733/1.253, allocations: 0.5907 MB / 0.8372 GB, free: 26.08 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007629/1.261, allocations: 1.965 MB / 0.8391 GB, free: 26.05 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003663/1.265, allocations: 1.227 MB / 0.8403 GB, free: 26.05 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006321/1.265, allocations: 112.2 kB / 0.8404 GB, free: 26.05 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/1.279, allocations: 6.365 MB / 0.8467 GB, free: 25.88 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009448/1.28, allocations: 418.9 kB / 0.8471 GB, free: 25.88 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/1.282, allocations: 483.5 kB / 0.8475 GB, free: 25.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005633/1.287, allocations: 3.226 MB / 0.8507 GB, free: 25.54 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.287, allocations: 0 / 0.8507 GB, free: 25.54 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.793e-06/1.287, allocations: 0 / 0.8507 GB, free: 25.54 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.13e-05/1.287, allocations: 0 / 0.8507 GB, free: 25.54 MB / 0.6231 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.005971/1.293, allocations: 2.92 MB / 0.8535 GB, free: 24.14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/1.293, allocations: 14.19 kB / 0.8535 GB, free: 24.13 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006065/1.294, allocations: 291.3 kB / 0.8538 GB, free: 24.08 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/1.298, allocations: 0.5622 MB / 0.8544 GB, free: 23.95 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/1.301, allocations: 1.161 MB / 0.8555 GB, free: 23.56 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003845/1.301, allocations: 425.8 kB / 0.8559 GB, free: 23.29 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/1.301, allocations: 219.3 kB / 0.8561 GB, free: 23.29 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004197/1.306, allocations: 2.359 MB / 0.8584 GB, free: 23.04 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/1.306, allocations: 3.938 kB / 0.8584 GB, free: 23.04 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/1.306, allocations: 83.31 kB / 0.8585 GB, free: 23.04 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-05/1.306, allocations: 76.17 kB / 0.8586 GB, free: 23.03 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/1.31, allocations: 1.923 MB / 0.8604 GB, free: 22.98 MB / 0.6231 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.01133/1.321, allocations: 9.247 MB / 0.8695 GB, free: 17.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/1.325, allocations: 2.028 MB / 0.8715 GB, free: 17.85 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/1.327, allocations: 1.096 MB / 0.8725 GB, free: 17.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/1.329, allocations: 2.609 MB / 0.8751 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/1.329, allocations: 59.88 kB / 0.8751 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=174): time 3.767e-06/1.329, allocations: 0 / 0.8751 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=176): time 0.01681/1.346, allocations: 7.058 MB / 0.882 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/1.346, allocations: 74.03 kB / 0.8821 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/1.348, allocations: 1.192 MB / 0.8833 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003507/1.348, allocations: 53.7 kB / 0.8833 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/1.349, allocations: 0.8729 MB / 0.8842 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005167/1.349, allocations: 0.59 MB / 0.8847 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/1.349, allocations: 31.19 kB / 0.8848 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.349, allocations: 365.9 kB / 0.8851 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/1.351, allocations: 0.7414 MB / 0.8858 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/1.352, allocations: 0.8995 MB / 0.8867 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/1.354, allocations: 0.7905 MB / 0.8875 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.354, allocations: 2.625 kB / 0.8875 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006259/1.36, allocations: 2.912 MB / 0.8903 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.36, allocations: 7.531 kB / 0.8903 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.36, allocations: 3.438 kB / 0.8903 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/1.362, allocations: 0.6375 MB / 0.891 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/1.364, allocations: 429.3 kB / 0.8914 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/1.377, allocations: 9.742 MB / 0.9009 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/1.379, allocations: 156.6 kB / 0.901 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003061/1.379, allocations: 122 kB / 0.9012 GB, free: 2.676 MB / 0.6231 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 (168): * Single equations (assignments): 163 * 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,(2,100.0%) 17,(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001046/1.381, allocations: 358.3 kB / 0.9015 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/1.381, allocations: 179.5 kB / 0.9017 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008865/1.39, allocations: 4.285 MB / 0.9059 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/1.39, allocations: 16 kB / 0.9059 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/1.39, allocations: 13.05 kB / 0.9059 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/1.39, allocations: 7.969 kB / 0.9059 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/1.401, allocations: 5.431 MB / 0.9112 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/1.401, allocations: 4 kB / 0.9112 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/1.403, allocations: 414.7 kB / 0.9116 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/1.405, allocations: 0.6422 MB / 0.9122 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002386/1.406, allocations: 75.81 kB / 0.9123 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/1.418, allocations: 9.728 MB / 0.9218 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.418, allocations: 10.61 kB / 0.9218 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008992/1.427, allocations: 3.963 MB / 0.9257 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.429, allocations: 416.2 kB / 0.9261 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/1.429, allocations: 38 kB / 0.9261 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/1.43, allocations: 151.8 kB / 0.9263 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/1.431, allocations: 160.2 kB / 0.9264 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.431, allocations: 117.9 kB / 0.9265 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001399/1.433, allocations: 0.8114 MB / 0.9273 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/1.433, allocations: 0 / 0.9273 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003414/1.436, allocations: 0.8708 MB / 0.9282 GB, free: 12.52 MB / 0.6544 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,flowResistanceB2.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 (159): * Single equations (assignments): 154 * 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,(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0115/1.448, allocations: 5.555 MB / 0.9336 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006182/1.454, allocations: 2.838 MB / 0.9364 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.118e-06/1.454, allocations: 0 / 0.9364 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004078/1.458, allocations: 2.032 MB / 0.9383 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002936/1.461, allocations: 494.1 kB / 0.9388 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/1.487, allocations: 13.59 MB / 0.9521 GB, free: 7.469 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/1.488, allocations: 1.476 MB / 0.9535 GB, free: 5.965 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003952/1.492, allocations: 1.393 MB / 0.9549 GB, free: 4.605 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/1.494, allocations: 1.031 MB / 0.9559 GB, free: 4.273 MB / 0.67 GB Notification: Performance of SimCode: time 8.91e-07/1.494, allocations: 0 / 0.9559 GB, free: 4.273 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/1.595, allocations: 57.26 MB / 1.012 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/1.595, allocations: 267.7 kB / 1.012 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.221/5.817, allocations: 0 / 1.012 GB, free: 11.27 MB / 0.7325 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