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.001705/0.001706, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.855/1.855, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0009339/0.000934, allocations: 85.78 kB / 266.6 MB, free: 9.273 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.9507/0.9507, allocations: 90.34 MB / 405 MB, free: 8.617 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.785e-05, allocations: 7.938 kB / 479.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5025, allocations: 66.25 MB / 0.5327 GB, free: 28.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.162/2.665, allocations: 0.7566 GB / 1.289 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/2.665, allocations: 79.95 kB / 1.289 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.161/4.826, allocations: 0.5306 GB / 1.82 GB, free: 28.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.904e-06/4.826, allocations: 0 / 1.82 GB, free: 28.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001168/4.826, allocations: 27.98 kB / 1.82 GB, free: 28.52 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.009268/4.835, allocations: 2.653 MB / 1.823 GB, free: 25.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/4.835, allocations: 15.97 kB / 1.823 GB, free: 25.79 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000399/4.836, allocations: 139.1 kB / 1.823 GB, free: 25.65 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/4.838, allocations: 238.4 kB / 1.823 GB, free: 25.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/4.839, allocations: 0.5568 MB / 1.823 GB, free: 24.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/4.839, allocations: 200.8 kB / 1.824 GB, free: 24.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/4.84, allocations: 87.91 kB / 1.824 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/4.841, allocations: 0.8861 MB / 1.825 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/4.842, allocations: 0 / 1.825 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.72e-05/4.842, allocations: 32 kB / 1.825 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/4.842, allocations: 23.98 kB / 1.825 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/4.843, allocations: 0.6755 MB / 1.825 GB, free: 22.87 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.004386/4.847, allocations: 3.623 MB / 1.829 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/4.849, allocations: 0.7861 MB / 1.83 GB, free: 18.15 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/4.849, allocations: 379.7 kB / 1.83 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007488/4.85, allocations: 1.122 MB / 1.831 GB, free: 16.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/4.85, allocations: 43.33 kB / 1.831 GB, free: 16.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 3.196e-06/4.85, allocations: 4 kB / 1.831 GB, free: 16.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.002778/4.853, allocations: 1.083 MB / 1.832 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/4.853, allocations: 60.19 kB / 1.832 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/4.853, allocations: 421.1 kB / 1.833 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/4.853, allocations: 41.7 kB / 1.833 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/4.854, allocations: 384.3 kB / 1.833 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/4.854, allocations: 287.8 kB / 1.833 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/4.854, allocations: 16 kB / 1.833 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001153/4.854, allocations: 390.6 kB / 1.834 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/4.854, allocations: 257.5 kB / 1.834 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/4.855, allocations: 332.8 kB / 1.834 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/4.855, allocations: 282 kB / 1.835 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/4.855, allocations: 0 / 1.835 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002285/4.858, allocations: 1.126 MB / 1.836 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/4.858, allocations: 4 kB / 1.836 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/4.858, allocations: 8.125 kB / 1.836 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004994/4.858, allocations: 166.5 kB / 1.836 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008452/4.859, allocations: 203.7 kB / 1.836 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003624/4.863, allocations: 4.635 MB / 1.841 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006865/4.863, allocations: 99.38 kB / 1.841 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/4.863, allocations: 51.98 kB / 1.841 GB, free: 6.07 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 (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.0001707/4.864, allocations: 152.6 kB / 1.841 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/4.864, allocations: 75.06 kB / 1.841 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/4.867, allocations: 1.478 MB / 1.842 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/4.867, allocations: 8 kB / 1.842 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/4.867, allocations: 4 kB / 1.842 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/4.867, allocations: 3.984 kB / 1.842 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/4.871, allocations: 2.318 MB / 1.845 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/4.871, allocations: 0 / 1.845 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008641/4.872, allocations: 207.9 kB / 1.845 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004537/4.873, allocations: 178.4 kB / 1.845 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.35e-05/4.873, allocations: 35.98 kB / 1.845 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4819/5.355, allocations: 4.631 MB / 1.85 GB, free: 71.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/5.355, allocations: 0 / 1.85 GB, free: 71.61 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/5.358, allocations: 1.661 MB / 1.851 GB, free: 71.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/5.359, allocations: 247 kB / 1.851 GB, free: 71.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/5.359, allocations: 21.03 kB / 1.851 GB, free: 71.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/5.359, allocations: 66.53 kB / 1.852 GB, free: 71.31 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/5.36, allocations: 74.19 kB / 1.852 GB, free: 71.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/5.36, allocations: 60.94 kB / 1.852 GB, free: 71.31 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003925/5.36, allocations: 332.2 kB / 1.852 GB, free: 71.22 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.7e-07/5.36, allocations: 0 / 1.852 GB, free: 71.22 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003673/5.364, allocations: 0.8973 MB / 1.853 GB, free: 71.22 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 () * 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.008308/5.372, allocations: 4.173 MB / 1.857 GB, free: 70.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002616/5.375, allocations: 1.279 MB / 1.858 GB, free: 69.69 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/5.375, allocations: 2.938 kB / 1.858 GB, free: 69.69 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/5.377, allocations: 1 MB / 1.859 GB, free: 69.28 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/5.378, allocations: 189.2 kB / 1.859 GB, free: 69.27 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/5.383, allocations: 1.983 MB / 1.861 GB, free: 68.82 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/5.383, allocations: 1.023 MB / 1.862 GB, free: 68.12 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001207/5.384, allocations: 276.6 kB / 1.863 GB, free: 68.11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006517/5.385, allocations: 401.7 kB / 1.863 GB, free: 68.11 MB / 0.5886 GB Notification: Performance of SimCode: time 9.11e-07/5.385, allocations: 0 / 1.863 GB, free: 68.11 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09785/5.483, allocations: 48.92 MB / 1.911 GB, free: 66.64 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/5.483, allocations: 221.8 kB / 1.911 GB, free: 66.38 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.896/9.379, allocations: 0 / 1.911 GB, free: 66.38 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