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.001113/0.001113, allocations: 172.5 kB / 7.646 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.581/1.581, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008944/0.0008942, allocations: 86.62 kB / 261.4 MB, free: 13.46 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.8465/0.8465, allocations: 90.36 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.3e-05/2.283e-05, allocations: 8 kB / 472.3 MB, free: 3.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.406, allocations: 66.26 MB / 0.5259 GB, free: 28.88 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.815/2.222, allocations: 0.7559 GB / 1.282 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/2.222, allocations: 83.89 kB / 1.282 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.798/4.02, allocations: 0.5265 GB / 1.808 GB, free: 48.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.443e-06/4.02, allocations: 4 kB / 1.808 GB, free: 48.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.457e-05/4.02, allocations: 24 kB / 1.808 GB, free: 48.62 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.007306/4.027, allocations: 2.649 MB / 1.811 GB, free: 45.92 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/4.027, allocations: 16.03 kB / 1.811 GB, free: 45.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/4.029, allocations: 234.5 kB / 1.811 GB, free: 45.67 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007797/4.03, allocations: 0.5607 MB / 1.812 GB, free: 45.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/4.03, allocations: 164.8 kB / 1.812 GB, free: 44.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/4.03, allocations: 51.91 kB / 1.812 GB, free: 44.83 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009292/4.031, allocations: 0.6247 MB / 1.813 GB, free: 44.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/4.032, allocations: 0.7612 MB / 1.813 GB, free: 43.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/4.032, allocations: 0 / 1.813 GB, free: 43.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/4.032, allocations: 0 / 1.813 GB, free: 43.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/4.032, allocations: 20 kB / 1.813 GB, free: 43.41 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.003444/4.036, allocations: 3.476 MB / 1.817 GB, free: 39.65 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009275/4.037, allocations: 0.7372 MB / 1.818 GB, free: 38.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/4.037, allocations: 359.7 kB / 1.818 GB, free: 38.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007044/4.038, allocations: 1.134 MB / 1.819 GB, free: 37.17 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/4.038, allocations: 39.28 kB / 1.819 GB, free: 37.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 2.144e-06/4.038, allocations: 0 / 1.819 GB, free: 37.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.002855/4.041, allocations: 1.083 MB / 1.82 GB, free: 36.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/4.041, allocations: 64.19 kB / 1.82 GB, free: 35.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/4.041, allocations: 370.2 kB / 1.82 GB, free: 35.58 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/4.041, allocations: 29.7 kB / 1.821 GB, free: 35.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/4.041, allocations: 380.3 kB / 1.821 GB, free: 35.17 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/4.041, allocations: 279.7 kB / 1.821 GB, free: 34.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/4.042, allocations: 0 / 1.821 GB, free: 34.89 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/4.042, allocations: 382.8 kB / 1.822 GB, free: 34.51 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/4.042, allocations: 245.5 kB / 1.822 GB, free: 34.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/4.042, allocations: 311.3 kB / 1.822 GB, free: 33.95 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/4.043, allocations: 364.3 kB / 1.822 GB, free: 33.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/4.043, allocations: 4 kB / 1.822 GB, free: 33.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002599/4.046, allocations: 1.154 MB / 1.824 GB, free: 32.42 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/4.046, allocations: 6.344 kB / 1.824 GB, free: 32.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/4.046, allocations: 3.938 kB / 1.824 GB, free: 32.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000499/4.047, allocations: 170.6 kB / 1.824 GB, free: 32.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/4.047, allocations: 199.7 kB / 1.824 GB, free: 32.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/4.051, allocations: 4.48 MB / 1.828 GB, free: 27.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/4.052, allocations: 79.72 kB / 1.828 GB, free: 27.13 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/4.052, allocations: 55.98 kB / 1.828 GB, free: 27.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.0001562/4.052, allocations: 124.8 kB / 1.829 GB, free: 26.95 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002714/4.055, allocations: 1.107 MB / 1.83 GB, free: 25.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/4.055, allocations: 75.11 kB / 1.83 GB, free: 25.75 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003602/4.058, allocations: 1.492 MB / 1.831 GB, free: 24.24 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/4.058, allocations: 8 kB / 1.831 GB, free: 24.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/4.058, allocations: 7.953 kB / 1.831 GB, free: 24.22 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/4.058, allocations: 7.969 kB / 1.831 GB, free: 24.21 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004021/4.062, allocations: 2.221 MB / 1.833 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/4.062, allocations: 4 kB / 1.833 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008876/4.063, allocations: 207.8 kB / 1.834 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000419/4.064, allocations: 178.3 kB / 1.834 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/4.064, allocations: 27.98 kB / 1.834 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/4.067, allocations: 4.48 MB / 1.838 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/4.067, allocations: 0 / 1.838 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/4.07, allocations: 1.688 MB / 1.84 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/4.071, allocations: 247.8 kB / 1.84 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.8e-05/4.071, allocations: 4 kB / 1.84 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/4.071, allocations: 51.86 kB / 1.84 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/4.071, allocations: 76.67 kB / 1.84 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/4.072, allocations: 59.97 kB / 1.84 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002761/4.072, allocations: 283 kB / 1.84 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/4.072, allocations: 0 / 1.84 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002848/4.075, allocations: 0.8461 MB / 1.841 GB, free: 13.39 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.006954/4.082, allocations: 4.37 MB / 1.846 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002008/4.084, allocations: 1.232 MB / 1.847 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/4.084, allocations: 0 / 1.847 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/4.085, allocations: 0.9484 MB / 1.848 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009166/4.086, allocations: 169.8 kB / 1.848 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/4.089, allocations: 1.898 MB / 1.85 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/4.09, allocations: 1.025 MB / 1.851 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001023/4.091, allocations: 275.2 kB / 1.851 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/4.091, allocations: 391.3 kB / 1.851 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/4.091, allocations: 0 / 1.851 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4398/4.531, allocations: 34.54 MB / 1.885 GB, free: 77.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/4.531, allocations: 192.1 kB / 1.885 GB, free: 77 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.283/7.814, allocations: 0 / 1.885 GB, free: 77 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