Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",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.01024/0.01024, allocations: 171.1 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.623/1.623, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0008778/0.0008777, allocations: 86.88 kB / 269.6 MB, free: 13.36 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.8561/0.8561, allocations: 90.6 MB / 408.5 MB, free: 14.97 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.000311, allocations: 8 kB / 485.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4385, allocations: 66.27 MB / 0.5387 GB, free: 45.49 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.767/2.205, allocations: 0.7567 GB / 1.295 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/2.206, allocations: 84.89 kB / 1.295 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.918/4.124, allocations: 0.532 GB / 1.827 GB, free: 65.06 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.136e-06/4.124, allocations: 4 kB / 1.827 GB, free: 65.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.437e-05/4.124, allocations: 34.56 kB / 1.827 GB, free: 65.03 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.009224/4.133, allocations: 2.749 MB / 1.83 GB, free: 62.24 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/4.133, allocations: 8.031 kB / 1.83 GB, free: 62.23 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002463/4.134, allocations: 138.9 kB / 1.83 GB, free: 62.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/4.135, allocations: 246.4 kB / 1.831 GB, free: 61.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009705/4.136, allocations: 0.5589 MB / 1.831 GB, free: 61.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/4.137, allocations: 200.8 kB / 1.831 GB, free: 61.04 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/4.137, allocations: 84 kB / 1.831 GB, free: 60.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/4.138, allocations: 0.9835 MB / 1.832 GB, free: 59.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/4.138, allocations: 0 / 1.832 GB, free: 59.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/4.139, allocations: 32 kB / 1.832 GB, free: 59.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/4.139, allocations: 20 kB / 1.832 GB, free: 59.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/4.14, allocations: 0.7962 MB / 1.833 GB, free: 59.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/4.144, allocations: 3.654 MB / 1.837 GB, free: 55.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/4.146, allocations: 0.9141 MB / 1.838 GB, free: 54.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000788/4.147, allocations: 1.124 MB / 1.839 GB, free: 52.92 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/4.147, allocations: 47.22 kB / 1.839 GB, free: 52.87 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 3.928e-06/4.147, allocations: 0 / 1.839 GB, free: 52.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.005335/4.152, allocations: 2.384 MB / 1.841 GB, free: 50.38 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/4.152, allocations: 60.06 kB / 1.841 GB, free: 50.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/4.153, allocations: 426.3 kB / 1.842 GB, free: 49.88 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.566e-05/4.153, allocations: 41.7 kB / 1.842 GB, free: 49.83 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/4.153, allocations: 376.4 kB / 1.842 GB, free: 49.46 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/4.153, allocations: 287 kB / 1.842 GB, free: 49.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/4.153, allocations: 20 kB / 1.842 GB, free: 49.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001132/4.153, allocations: 382.8 kB / 1.843 GB, free: 48.78 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006279/4.154, allocations: 345.8 kB / 1.843 GB, free: 48.44 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/4.155, allocations: 423.1 kB / 1.843 GB, free: 48.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/4.155, allocations: 370.9 kB / 1.844 GB, free: 47.65 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/4.155, allocations: 0 / 1.844 GB, free: 47.65 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002976/4.158, allocations: 1.354 MB / 1.845 GB, free: 46.28 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/4.158, allocations: 7.984 kB / 1.845 GB, free: 46.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/4.158, allocations: 4 kB / 1.845 GB, free: 46.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008201/4.159, allocations: 270.1 kB / 1.845 GB, free: 46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/4.16, allocations: 199.8 kB / 1.845 GB, free: 45.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004696/4.165, allocations: 5.109 MB / 1.85 GB, free: 40.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008055/4.166, allocations: 99.44 kB / 1.851 GB, free: 40.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/4.166, allocations: 59.97 kB / 1.851 GB, free: 40.14 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.0004593/4.166, allocations: 209.4 kB / 1.851 GB, free: 39.92 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/4.166, allocations: 75.06 kB / 1.851 GB, free: 39.85 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003757/4.17, allocations: 1.689 MB / 1.853 GB, free: 38.16 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/4.17, allocations: 12.38 kB / 1.853 GB, free: 38.14 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/4.17, allocations: 0 / 1.853 GB, free: 38.14 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/4.17, allocations: 3.984 kB / 1.853 GB, free: 38.14 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004402/4.175, allocations: 2.531 MB / 1.855 GB, free: 35.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/4.175, allocations: 0 / 1.855 GB, free: 35.56 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000923/4.176, allocations: 215.7 kB / 1.855 GB, free: 35.35 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006952/4.176, allocations: 281.7 kB / 1.855 GB, free: 35.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/4.176, allocations: 35.98 kB / 1.856 GB, free: 35.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004582/4.181, allocations: 5.1 MB / 1.86 GB, free: 29.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/4.181, allocations: 0 / 1.86 GB, free: 29.54 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00394/4.185, allocations: 1.932 MB / 1.862 GB, free: 27.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/4.185, allocations: 156 kB / 1.863 GB, free: 27.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/4.185, allocations: 20.06 kB / 1.863 GB, free: 27.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/4.186, allocations: 67.86 kB / 1.863 GB, free: 27.31 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/4.186, allocations: 77.34 kB / 1.863 GB, free: 27.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/4.186, allocations: 55.97 kB / 1.863 GB, free: 27.18 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003977/4.187, allocations: 342.8 kB / 1.863 GB, free: 26.85 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/4.187, allocations: 0 / 1.863 GB, free: 26.85 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003468/4.19, allocations: 0.8969 MB / 1.864 GB, free: 25.95 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (counterFlowNTU.inletB.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.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 (81): * Single equations (assignments): 76 * 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.007976/4.198, allocations: 4.439 MB / 1.868 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002713/4.201, allocations: 1.445 MB / 1.87 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/4.201, allocations: 3.938 kB / 1.87 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/4.202, allocations: 1.074 MB / 1.871 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/4.204, allocations: 178.1 kB / 1.871 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009997/4.214, allocations: 6.567 MB / 1.877 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/4.214, allocations: 1.02 MB / 1.878 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00119/4.215, allocations: 283 kB / 1.879 GB, free: 11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/4.216, allocations: 391.3 kB / 1.879 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of SimCode: time 1.623e-06/4.216, allocations: 0 / 1.879 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4694/4.685, allocations: 45.18 MB / 1.923 GB, free: 78.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/4.685, allocations: 265.5 kB / 1.923 GB, free: 77.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.949/8.634, allocations: 0 / 1.923 GB, free: 77.68 MB / 0.6042 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat does not exist to compare? outputFormat=mat