Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.CrossFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",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.009686/0.009686, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.00112/0.001119, allocations: 90.83 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.837/0.837, allocations: 90.6 MB / 408.5 MB, free: 14.99 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 8 kB / 485.3 MB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4582, allocations: 66.28 MB / 0.5387 GB, free: 45.68 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.832/2.29, allocations: 0.7567 GB / 1.295 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/2.291, allocations: 82.45 kB / 1.295 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.938/4.229, allocations: 0.5321 GB / 1.827 GB, free: 52.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.774e-06/4.229, allocations: 0 / 1.827 GB, free: 52.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.832e-05/4.229, allocations: 31.98 kB / 1.828 GB, free: 52.7 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.008799/4.238, allocations: 2.754 MB / 1.83 GB, free: 49.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/4.238, allocations: 8.031 kB / 1.83 GB, free: 49.88 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002938/4.239, allocations: 135.2 kB / 1.83 GB, free: 49.74 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/4.24, allocations: 250.4 kB / 1.831 GB, free: 49.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/4.241, allocations: 0.5568 MB / 1.831 GB, free: 48.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/4.242, allocations: 196.8 kB / 1.831 GB, free: 48.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/4.242, allocations: 87.91 kB / 1.831 GB, free: 48.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/4.244, allocations: 0.9757 MB / 1.832 GB, free: 47.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/4.244, allocations: 3.953 kB / 1.832 GB, free: 47.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/4.244, allocations: 36 kB / 1.832 GB, free: 47.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/4.244, allocations: 24 kB / 1.832 GB, free: 47.54 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/4.245, allocations: 0.7768 MB / 1.833 GB, free: 46.76 MB / 0.5886 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.004331/4.25, allocations: 3.621 MB / 1.837 GB, free: 42.84 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/4.251, allocations: 0.906 MB / 1.838 GB, free: 41.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000743/4.252, allocations: 1.134 MB / 1.839 GB, free: 40.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/4.252, allocations: 51.16 kB / 1.839 GB, free: 40.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 4.328e-06/4.252, allocations: 0 / 1.839 GB, free: 40.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.00531/4.257, allocations: 2.36 MB / 1.841 GB, free: 38.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/4.257, allocations: 64.02 kB / 1.841 GB, free: 37.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/4.258, allocations: 434.4 kB / 1.842 GB, free: 37.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/4.258, allocations: 37.7 kB / 1.842 GB, free: 37.48 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/4.258, allocations: 380.4 kB / 1.842 GB, free: 37.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/4.258, allocations: 283.7 kB / 1.842 GB, free: 36.82 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/4.258, allocations: 16 kB / 1.842 GB, free: 36.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001042/4.258, allocations: 382.8 kB / 1.843 GB, free: 36.42 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006124/4.259, allocations: 346.7 kB / 1.843 GB, free: 36.09 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006415/4.26, allocations: 427 kB / 1.843 GB, free: 35.65 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006497/4.26, allocations: 366.9 kB / 1.844 GB, free: 35.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/4.26, allocations: 0 / 1.844 GB, free: 35.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002991/4.263, allocations: 1.346 MB / 1.845 GB, free: 33.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/4.263, allocations: 7.938 kB / 1.845 GB, free: 33.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/4.263, allocations: 0 / 1.845 GB, free: 33.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000856/4.264, allocations: 274.4 kB / 1.845 GB, free: 33.65 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008948/4.265, allocations: 207.7 kB / 1.845 GB, free: 33.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00499/4.27, allocations: 5.099 MB / 1.85 GB, free: 27.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008985/4.271, allocations: 103.4 kB / 1.851 GB, free: 27.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/4.271, allocations: 55.98 kB / 1.851 GB, free: 27.78 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 75 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004936/4.272, allocations: 215.7 kB / 1.851 GB, free: 27.56 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/4.272, allocations: 79.05 kB / 1.851 GB, free: 27.48 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/4.276, allocations: 1.69 MB / 1.853 GB, free: 25.78 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/4.276, allocations: 19.98 kB / 1.853 GB, free: 25.76 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/4.276, allocations: 0 / 1.853 GB, free: 25.76 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/4.276, allocations: 3.984 kB / 1.853 GB, free: 25.76 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/4.28, allocations: 2.532 MB / 1.855 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/4.28, allocations: 4 kB / 1.855 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009469/4.281, allocations: 203.7 kB / 1.855 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007089/4.282, allocations: 282.4 kB / 1.855 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/4.282, allocations: 47.91 kB / 1.856 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004677/4.287, allocations: 5.099 MB / 1.86 GB, free: 17.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/4.287, allocations: 7.922 kB / 1.861 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004/4.291, allocations: 1.928 MB / 1.862 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/4.291, allocations: 239.9 kB / 1.863 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.955e-05/4.292, allocations: 24 kB / 1.863 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/4.292, allocations: 67.8 kB / 1.863 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/4.292, allocations: 80.84 kB / 1.863 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.991e-05/4.292, allocations: 59.97 kB / 1.863 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003672/4.293, allocations: 342.8 kB / 1.863 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/4.293, allocations: 0 / 1.863 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00337/4.296, allocations: 0.897 MB / 1.864 GB, free: 13.43 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.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 (83): * Single equations (assignments): 78 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00857/4.305, allocations: 4.43 MB / 1.868 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00286/4.308, allocations: 1.437 MB / 1.87 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/4.308, allocations: 0 / 1.87 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/4.309, allocations: 1.079 MB / 1.871 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/4.311, allocations: 186.4 kB / 1.871 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3728/4.683, allocations: 6.568 MB / 1.877 GB, free: 69.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/4.684, allocations: 1.02 MB / 1.878 GB, free: 68.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001698/4.686, allocations: 266.9 kB / 1.879 GB, free: 68.79 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008044/4.687, allocations: 405.1 kB / 1.879 GB, free: 68.79 MB / 0.5886 GB Notification: Performance of SimCode: time 1.853e-06/4.687, allocations: 2.625 kB / 1.879 GB, free: 68.79 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/4.795, allocations: 45.36 MB / 1.923 GB, free: 67.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/4.795, allocations: 258 kB / 1.924 GB, free: 67.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.954/8.749, allocations: 0 / 1.924 GB, free: 67.57 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat does not exist to compare? outputFormat=mat