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.0009969/0.000997, allocations: 173.9 kB / 7.648 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.572/1.572, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008947/0.0008948, allocations: 90.19 kB / 261.4 MB, free: 13.44 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.8303/0.8303, 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.911e-05/2.928e-05, allocations: 7.938 kB / 472.3 MB, free: 3.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4079, allocations: 66.25 MB / 0.5259 GB, free: 29.03 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.92/2.328, allocations: 0.7559 GB / 1.282 GB, free: 87.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/2.328, allocations: 83.27 kB / 1.282 GB, free: 87.26 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.027/4.355, allocations: 0.5265 GB / 1.808 GB, free: 35.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.152e-06/4.355, allocations: 0 / 1.808 GB, free: 35.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.865e-05/4.355, allocations: 28 kB / 1.808 GB, free: 35.39 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.00855/4.364, allocations: 2.637 MB / 1.811 GB, free: 32.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/4.364, allocations: 8.031 kB / 1.811 GB, free: 32.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/4.366, allocations: 238.5 kB / 1.811 GB, free: 32.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/4.367, allocations: 0.5722 MB / 1.812 GB, free: 31.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/4.367, allocations: 168.8 kB / 1.812 GB, free: 31.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/4.368, allocations: 56 kB / 1.812 GB, free: 31.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001248/4.369, allocations: 0.6131 MB / 1.813 GB, free: 30.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/4.37, allocations: 0.765 MB / 1.813 GB, free: 30.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/4.37, allocations: 0 / 1.813 GB, free: 30.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/4.37, allocations: 0 / 1.813 GB, free: 30.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/4.37, allocations: 20 kB / 1.813 GB, free: 30.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003993/4.374, allocations: 3.502 MB / 1.817 GB, free: 26.38 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009912/4.375, allocations: 0.749 MB / 1.818 GB, free: 25.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/4.376, allocations: 356.6 kB / 1.818 GB, free: 25.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007349/4.377, allocations: 1.13 MB / 1.819 GB, free: 23.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/4.377, allocations: 43.34 kB / 1.819 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 2.315e-06/4.377, allocations: 0 / 1.819 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.003063/4.38, allocations: 1.091 MB / 1.82 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/4.38, allocations: 60.19 kB / 1.82 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/4.38, allocations: 366.2 kB / 1.82 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/4.38, allocations: 29.69 kB / 1.821 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/4.38, allocations: 384.2 kB / 1.821 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/4.381, allocations: 279.8 kB / 1.821 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/4.381, allocations: 0 / 1.821 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/4.381, allocations: 378.8 kB / 1.822 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/4.381, allocations: 249.5 kB / 1.822 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/4.381, allocations: 319.2 kB / 1.822 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/4.383, allocations: 356.3 kB / 1.822 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/4.383, allocations: 11.95 kB / 1.822 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002895/4.386, allocations: 1.15 MB / 1.824 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/4.386, allocations: 6.5 kB / 1.824 GB, free: 19.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/4.386, allocations: 4 kB / 1.824 GB, free: 19.13 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/4.386, allocations: 174.5 kB / 1.824 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/4.387, allocations: 195.7 kB / 1.824 GB, free: 18.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003537/4.391, allocations: 4.484 MB / 1.828 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/4.391, allocations: 83.44 kB / 1.828 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/4.391, allocations: 55.98 kB / 1.828 GB, free: 13.79 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.0001732/4.392, allocations: 116.9 kB / 1.829 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002976/4.395, allocations: 1.111 MB / 1.83 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/4.395, allocations: 71.16 kB / 1.83 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/4.399, allocations: 1.493 MB / 1.831 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/4.399, allocations: 12 kB / 1.831 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/4.399, allocations: 0 / 1.831 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/4.399, allocations: 3.984 kB / 1.831 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004655/4.403, allocations: 2.229 MB / 1.833 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/4.403, allocations: 4 kB / 1.833 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008804/4.404, allocations: 199.8 kB / 1.834 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/4.405, allocations: 174.3 kB / 1.834 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-05/4.405, allocations: 35.97 kB / 1.834 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/4.408, allocations: 4.488 MB / 1.838 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/4.408, allocations: 3.953 kB / 1.838 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/4.412, allocations: 1.665 MB / 1.84 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/4.412, allocations: 159.9 kB / 1.84 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/4.412, allocations: 12 kB / 1.84 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005658/4.413, allocations: 51.86 kB / 1.84 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/4.413, allocations: 80.62 kB / 1.84 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-05/4.413, allocations: 51.98 kB / 1.84 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002888/4.414, allocations: 286.9 kB / 1.84 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/4.414, allocations: 3.938 kB / 1.84 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003178/4.417, allocations: 0.8422 MB / 1.841 GB, free: 208 kB / 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 () * 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.4758/4.893, allocations: 4.344 MB / 1.845 GB, free: 74.11 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002608/4.895, allocations: 1.222 MB / 1.847 GB, free: 73.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/4.895, allocations: 0 / 1.847 GB, free: 73.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/4.897, allocations: 0.9502 MB / 1.848 GB, free: 73.36 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/4.898, allocations: 166.7 kB / 1.848 GB, free: 73.36 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005075/4.903, allocations: 1.901 MB / 1.85 GB, free: 72.92 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006168/4.904, allocations: 1.014 MB / 1.851 GB, free: 72.21 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001241/4.905, allocations: 275.8 kB / 1.851 GB, free: 72.21 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/4.906, allocations: 393.8 kB / 1.851 GB, free: 72.2 MB / 0.5886 GB Notification: Performance of SimCode: time 9.81e-07/4.906, allocations: 2.969 kB / 1.851 GB, free: 72.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08087/4.986, allocations: 34.36 MB / 1.885 GB, free: 71.27 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/4.987, allocations: 193.7 kB / 1.885 GB, free: 71.08 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.235/8.222, allocations: 0 / 1.885 GB, free: 71.08 MB / 0.5886 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