Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.3 MB / 213.4 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 79.38 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8371/0.8371, allocations: 90.36 MB / 399.7 MB, free: 12.11 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.685e-05, allocations: 0 / 472.3 MB, free: 3.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4032, allocations: 66.27 MB / 0.5259 GB, free: 28.93 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.804/2.207, allocations: 0.756 GB / 1.282 GB, free: 86.91 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/2.207, allocations: 83.52 kB / 1.282 GB, free: 86.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.506/4.713, allocations: 0.6687 GB / 1.951 GB, free: 61.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.593e-06/4.713, allocations: 0 / 1.951 GB, free: 61.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.423e-05/4.713, allocations: 41.48 kB / 1.951 GB, free: 61.06 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.009614/4.723, allocations: 3.356 MB / 1.954 GB, free: 59.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/4.723, allocations: 9.031 kB / 1.954 GB, free: 59.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002405/4.725, allocations: 341.2 kB / 1.954 GB, free: 59.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/4.726, allocations: 0.6815 MB / 1.955 GB, free: 58.78 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003786/4.727, allocations: 313.7 kB / 1.955 GB, free: 58.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/4.727, allocations: 72.56 kB / 1.955 GB, free: 58.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00171/4.729, allocations: 0.8854 MB / 1.956 GB, free: 58.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/4.73, allocations: 1.047 MB / 1.957 GB, free: 58.39 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/4.73, allocations: 0 / 1.957 GB, free: 58.39 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.406e-05/4.731, allocations: 3.953 kB / 1.957 GB, free: 58.39 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/4.731, allocations: 27.28 kB / 1.957 GB, free: 58.39 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006006/4.737, allocations: 4.714 MB / 1.962 GB, free: 55.88 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/4.738, allocations: 1.051 MB / 1.963 GB, free: 55.84 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006681/4.739, allocations: 487.9 kB / 1.963 GB, free: 55.83 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/4.74, allocations: 1.57 MB / 1.965 GB, free: 54.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/4.74, allocations: 44.19 kB / 1.965 GB, free: 54.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=112): time 3.406e-06/4.74, allocations: 0 / 1.965 GB, free: 54.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=112): time 0.004532/4.744, allocations: 1.65 MB / 1.967 GB, free: 53.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/4.744, allocations: 66.19 kB / 1.967 GB, free: 53.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005343/4.745, allocations: 426 kB / 1.967 GB, free: 53.74 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.073e-05/4.745, allocations: 25.7 kB / 1.967 GB, free: 53.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/4.745, allocations: 473.3 kB / 1.968 GB, free: 53.49 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/4.746, allocations: 378.5 kB / 1.968 GB, free: 53.25 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/4.746, allocations: 0 / 1.968 GB, free: 53.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001303/4.746, allocations: 394.7 kB / 1.968 GB, free: 52.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005065/4.746, allocations: 362.4 kB / 1.969 GB, free: 52.93 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/4.747, allocations: 444.8 kB / 1.969 GB, free: 52.88 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/4.748, allocations: 497.6 kB / 1.97 GB, free: 52.86 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/4.748, allocations: 0 / 1.97 GB, free: 52.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004186/4.753, allocations: 1.729 MB / 1.971 GB, free: 52.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/4.753, allocations: 10.14 kB / 1.971 GB, free: 52.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/4.753, allocations: 5.781 kB / 1.971 GB, free: 52.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006854/4.753, allocations: 266 kB / 1.971 GB, free: 52.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/4.755, allocations: 287.4 kB / 1.972 GB, free: 52.65 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005209/4.76, allocations: 6.247 MB / 1.978 GB, free: 47.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009856/4.761, allocations: 128 kB / 1.978 GB, free: 47.76 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/4.761, allocations: 78.02 kB / 1.978 GB, free: 47.76 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002127/4.761, allocations: 118.6 kB / 1.978 GB, free: 47.64 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004276/4.765, allocations: 1.683 MB / 1.98 GB, free: 47.48 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/4.766, allocations: 87.44 kB / 1.98 GB, free: 47.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005345/4.771, allocations: 2.159 MB / 1.982 GB, free: 47.27 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/4.771, allocations: 15.06 kB / 1.982 GB, free: 47.27 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/4.771, allocations: 3.125 kB / 1.982 GB, free: 47.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/4.771, allocations: 6.281 kB / 1.982 GB, free: 47.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006656/4.778, allocations: 3.124 MB / 1.985 GB, free: 46.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/4.778, allocations: 3.844 kB / 1.985 GB, free: 46.83 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/4.779, allocations: 298.9 kB / 1.985 GB, free: 46.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006012/4.78, allocations: 269.9 kB / 1.986 GB, free: 46.79 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.702e-05/4.78, allocations: 39.16 kB / 1.986 GB, free: 46.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005211/4.785, allocations: 6.252 MB / 1.992 GB, free: 41.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/4.785, allocations: 3.594 kB / 1.992 GB, free: 41.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005595/4.791, allocations: 2.401 MB / 1.994 GB, free: 41.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/4.791, allocations: 174.1 kB / 1.994 GB, free: 41.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/4.791, allocations: 7.281 kB / 1.994 GB, free: 41.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007654/4.792, allocations: 89.2 kB / 1.994 GB, free: 41.44 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/4.792, allocations: 103 kB / 1.994 GB, free: 41.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/4.792, allocations: 79.72 kB / 1.995 GB, free: 41.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003917/4.793, allocations: 331 kB / 1.995 GB, free: 41.33 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.052e-06/4.793, allocations: 0 / 1.995 GB, free: 41.33 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004406/4.797, allocations: 1.062 MB / 1.996 GB, free: 41.09 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.inletB.m_flow,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01109/4.808, allocations: 5.486 MB / 2.001 GB, free: 39.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00336/4.812, allocations: 1.777 MB / 2.003 GB, free: 39.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/4.812, allocations: 0 / 2.003 GB, free: 39.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/4.814, allocations: 1.369 MB / 2.004 GB, free: 38.56 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/4.815, allocations: 192.8 kB / 2.005 GB, free: 38.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/4.821, allocations: 2.462 MB / 2.007 GB, free: 37.57 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/4.822, allocations: 1.119 MB / 2.008 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001613/4.824, allocations: 369 kB / 2.008 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007907/4.825, allocations: 0.5009 MB / 2.009 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of SimCode: time 1.483e-06/4.825, allocations: 0 / 2.009 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07664/4.902, allocations: 42.76 MB / 2.051 GB, free: 16.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/4.902, allocations: 202.3 kB / 2.051 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.724/8.626, allocations: 0 / 2.051 GB, free: 15.92 MB / 0.6042 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat does not exist to compare? outputFormat=mat