Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",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.001056/0.001056, allocations: 180.9 kB / 7.651 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.62/1.62, 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.0008706/0.0008705, allocations: 84.62 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.8079/0.8079, 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 2.018e-05/2.019e-05, allocations: 7.938 kB / 472.3 MB, free: 3.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.403, allocations: 66.25 MB / 0.5259 GB, free: 29.05 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.858/2.262, allocations: 0.7545 GB / 1.28 GB, free: 88.85 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/2.262, allocations: 79.64 kB / 1.281 GB, free: 88.81 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.669/3.931, allocations: 424 MB / 1.695 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.084e-06/3.931, allocations: 0 / 1.695 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.000111/3.931, allocations: 24.27 kB / 1.695 GB, free: 104.8 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007858/3.939, allocations: 2.078 MB / 1.697 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/3.939, allocations: 11.16 kB / 1.697 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/3.941, allocations: 202.4 kB / 1.697 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009523/3.942, allocations: 490.2 kB / 1.697 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/3.942, allocations: 162.6 kB / 1.697 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/3.942, allocations: 43.47 kB / 1.698 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009652/3.943, allocations: 497 kB / 1.698 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009848/3.944, allocations: 0.529 MB / 1.699 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/3.944, allocations: 3.906 kB / 1.699 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/3.944, allocations: 0 / 1.699 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/3.944, allocations: 15.22 kB / 1.699 GB, free: 103.2 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.003189/3.947, allocations: 2.46 MB / 1.701 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/3.948, allocations: 0.5414 MB / 1.701 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/3.948, allocations: 275.5 kB / 1.702 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/3.949, allocations: 488.7 kB / 1.702 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/3.949, allocations: 42.03 kB / 1.702 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=62): time 2.254e-06/3.949, allocations: 0 / 1.702 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=62): time 0.002555/3.952, allocations: 0.9 MB / 1.703 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/3.952, allocations: 58.91 kB / 1.703 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/3.952, allocations: 304.5 kB / 1.703 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/3.952, allocations: 25.7 kB / 1.703 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/3.952, allocations: 314.4 kB / 1.704 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/3.952, allocations: 209.5 kB / 1.704 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/3.952, allocations: 3.938 kB / 1.704 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000109/3.952, allocations: 366.5 kB / 1.704 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/3.953, allocations: 187.6 kB / 1.705 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/3.953, allocations: 196.4 kB / 1.705 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/3.954, allocations: 259.8 kB / 1.705 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/3.954, allocations: 0 / 1.705 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002281/3.956, allocations: 0.9295 MB / 1.706 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/3.956, allocations: 4.5 kB / 1.706 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/3.956, allocations: 0 / 1.706 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004677/3.957, allocations: 159.5 kB / 1.706 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/3.957, allocations: 144.2 kB / 1.706 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003779/3.961, allocations: 4.361 MB / 1.71 GB, free: 96.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005599/3.962, allocations: 68.22 kB / 1.71 GB, free: 96.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.911e-05/3.962, allocations: 50.2 kB / 1.711 GB, free: 96.86 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 50 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000157/3.962, allocations: 111.1 kB / 1.711 GB, free: 96.75 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002456/3.964, allocations: 0.9203 MB / 1.712 GB, free: 96.64 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/3.965, allocations: 50.81 kB / 1.712 GB, free: 96.61 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/3.968, allocations: 1.169 MB / 1.713 GB, free: 96.51 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/3.968, allocations: 3.844 kB / 1.713 GB, free: 96.51 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/3.968, allocations: 6.5 kB / 1.713 GB, free: 96.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/3.968, allocations: 7.594 kB / 1.713 GB, free: 96.51 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/3.971, allocations: 1.789 MB / 1.714 GB, free: 96.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/3.971, allocations: 3 kB / 1.714 GB, free: 96.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007423/3.972, allocations: 146.2 kB / 1.715 GB, free: 96.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/3.972, allocations: 154.9 kB / 1.715 GB, free: 96.13 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/3.972, allocations: 28.53 kB / 1.715 GB, free: 96.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003249/3.976, allocations: 4.353 MB / 1.719 GB, free: 92.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/3.976, allocations: 6.188 kB / 1.719 GB, free: 92.52 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/3.978, allocations: 1.35 MB / 1.72 GB, free: 92.27 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/3.978, allocations: 191.2 kB / 1.721 GB, free: 92.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.986e-05/3.979, allocations: 4.812 kB / 1.721 GB, free: 92.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/3.979, allocations: 61.84 kB / 1.721 GB, free: 92.12 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/3.979, allocations: 61.05 kB / 1.721 GB, free: 92.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.576e-05/3.979, allocations: 47.53 kB / 1.721 GB, free: 92.12 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002575/3.979, allocations: 241.7 kB / 1.721 GB, free: 92.04 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/3.979, allocations: 0 / 1.721 GB, free: 92.04 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002181/3.982, allocations: 0.6143 MB / 1.722 GB, free: 91.91 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006661/3.988, allocations: 3.763 MB / 1.725 GB, free: 90.67 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001887/3.99, allocations: 1.046 MB / 1.726 GB, free: 90.28 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/3.99, allocations: 0 / 1.726 GB, free: 90.28 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/3.992, allocations: 0.8394 MB / 1.727 GB, free: 89.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/3.992, allocations: 133.2 kB / 1.727 GB, free: 89.89 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/3.995, allocations: 1.433 MB / 1.729 GB, free: 89.42 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/3.996, allocations: 0.9386 MB / 1.73 GB, free: 88.72 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008541/3.997, allocations: 192.1 kB / 1.73 GB, free: 88.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/3.997, allocations: 301.5 kB / 1.73 GB, free: 88.7 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/3.997, allocations: 0 / 1.73 GB, free: 88.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05263/4.05, allocations: 28.2 MB / 1.758 GB, free: 83.14 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/4.05, allocations: 199.3 kB / 1.758 GB, free: 82.86 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.096/7.146, allocations: 0 / 1.758 GB, free: 82.86 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat does not exist to compare? outputFormat=mat