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.00928/0.00928, allocations: 171.7 kB / 15.12 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.62/1.62, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009307/0.0009305, allocations: 86.88 kB / 269.6 MB, free: 13.35 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.8152/0.8152, allocations: 90.59 MB / 408.4 MB, free: 14.95 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003368, allocations: 8 kB / 485.3 MB, free: 1.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4929, allocations: 66.28 MB / 0.5387 GB, free: 45.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.836/2.329, allocations: 0.7567 GB / 1.295 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/2.329, allocations: 82.78 kB / 1.295 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.874/5.203, allocations: 0.6757 GB / 1.971 GB, free: 52.22 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.555e-06/5.203, allocations: 3.031 kB / 1.971 GB, free: 52.22 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.874e-05/5.203, allocations: 41.41 kB / 1.971 GB, free: 52.21 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.01205/5.215, allocations: 3.473 MB / 1.975 GB, free: 50.37 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/5.215, allocations: 10.72 kB / 1.975 GB, free: 50.37 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004682/5.216, allocations: 173.2 kB / 1.975 GB, free: 50.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/5.219, allocations: 347.5 kB / 1.975 GB, free: 50.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/5.22, allocations: 0.6909 MB / 1.976 GB, free: 49.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/5.221, allocations: 361.1 kB / 1.976 GB, free: 49.69 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/5.221, allocations: 117.6 kB / 1.976 GB, free: 49.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00281/5.224, allocations: 1.382 MB / 1.978 GB, free: 49.55 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/5.224, allocations: 0 / 1.978 GB, free: 49.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/5.224, allocations: 44.97 kB / 1.978 GB, free: 49.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/5.224, allocations: 27.94 kB / 1.978 GB, free: 49.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/5.227, allocations: 1.175 MB / 1.979 GB, free: 49.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006816/5.233, allocations: 4.899 MB / 1.984 GB, free: 47.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/5.236, allocations: 1.324 MB / 1.985 GB, free: 47.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/5.237, allocations: 1.56 MB / 1.986 GB, free: 45.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/5.237, allocations: 47.34 kB / 1.986 GB, free: 45.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=112): time 5.11e-06/5.237, allocations: 0 / 1.986 GB, free: 45.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=112): time 0.009016/5.246, allocations: 3.675 MB / 1.99 GB, free: 44.58 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/5.246, allocations: 61.91 kB / 1.99 GB, free: 44.51 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007798/5.247, allocations: 491 kB / 1.991 GB, free: 44.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/5.247, allocations: 43.64 kB / 1.991 GB, free: 44.36 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/5.248, allocations: 471.4 kB / 1.991 GB, free: 44.15 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/5.248, allocations: 395.8 kB / 1.991 GB, free: 43.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/5.248, allocations: 17.16 kB / 1.991 GB, free: 43.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001092/5.248, allocations: 347.4 kB / 1.992 GB, free: 43.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/5.249, allocations: 0.538 MB / 1.992 GB, free: 43.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/5.25, allocations: 0.6208 MB / 1.993 GB, free: 43.54 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/5.252, allocations: 0.549 MB / 1.993 GB, free: 43.53 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/5.252, allocations: 0 / 1.993 GB, free: 43.53 MB / 0.5886 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005237/5.257, allocations: 2.112 MB / 1.996 GB, free: 43.39 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/5.257, allocations: 6.5 kB / 1.996 GB, free: 43.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/5.257, allocations: 5.781 kB / 1.996 GB, free: 43.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/5.258, allocations: 475.3 kB / 1.996 GB, free: 43.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/5.26, allocations: 284.9 kB / 1.996 GB, free: 43.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008089/5.268, allocations: 7.351 MB / 2.003 GB, free: 38.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/5.269, allocations: 160.2 kB / 2.004 GB, free: 38.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/5.27, allocations: 74.98 kB / 2.004 GB, free: 38.25 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 (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.0007794/5.27, allocations: 242.9 kB / 2.004 GB, free: 38.13 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/5.271, allocations: 92.31 kB / 2.004 GB, free: 38.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006374/5.277, allocations: 2.566 MB / 2.007 GB, free: 37.95 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/5.277, allocations: 9.938 kB / 2.007 GB, free: 37.95 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/5.277, allocations: 3.438 kB / 2.007 GB, free: 37.95 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/5.277, allocations: 7.641 kB / 2.007 GB, free: 37.95 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00757/5.285, allocations: 3.664 MB / 2.01 GB, free: 37.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/5.285, allocations: 3.953 kB / 2.01 GB, free: 37.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/5.286, allocations: 294.1 kB / 2.01 GB, free: 37.49 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/5.287, allocations: 486.9 kB / 2.011 GB, free: 37.45 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/5.288, allocations: 47.94 kB / 2.011 GB, free: 37.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008019/5.296, allocations: 7.349 MB / 2.018 GB, free: 32.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/5.296, allocations: 3.688 kB / 2.018 GB, free: 32.39 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006594/5.302, allocations: 2.893 MB / 2.021 GB, free: 32.06 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/5.303, allocations: 173.8 kB / 2.021 GB, free: 31.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/5.303, allocations: 26.16 kB / 2.021 GB, free: 31.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008037/5.304, allocations: 115.6 kB / 2.021 GB, free: 31.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/5.304, allocations: 105.7 kB / 2.021 GB, free: 31.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/5.304, allocations: 77.52 kB / 2.021 GB, free: 31.89 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005357/5.305, allocations: 391.2 kB / 2.022 GB, free: 31.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/5.305, allocations: 0 / 2.022 GB, free: 31.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004458/5.309, allocations: 1.132 MB / 2.023 GB, free: 31.57 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 () * Number of clocked 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.01163/5.321, allocations: 5.78 MB / 2.029 GB, free: 30.01 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004413/5.325, allocations: 2.141 MB / 2.031 GB, free: 29.42 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/5.325, allocations: 0 / 2.031 GB, free: 29.42 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00279/5.328, allocations: 1.576 MB / 2.032 GB, free: 28.85 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/5.329, allocations: 207.9 kB / 2.032 GB, free: 28.83 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/5.344, allocations: 8.66 MB / 2.041 GB, free: 25.46 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/5.345, allocations: 1.115 MB / 2.042 GB, free: 24.75 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001642/5.347, allocations: 370.4 kB / 2.042 GB, free: 24.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008302/5.347, allocations: 0.5099 MB / 2.043 GB, free: 24.64 MB / 0.5886 GB Notification: Performance of SimCode: time 1.392e-06/5.347, allocations: 0 / 2.043 GB, free: 24.64 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09463/5.442, allocations: 55.34 MB / 2.097 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003223/5.442, allocations: 273.2 kB / 2.097 GB, free: 132 kB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.57/10.01, allocations: 0 / 2.097 GB, free: 132 kB / 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