Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_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.001766/0.001766, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.975/1.975, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.001037/0.001037, allocations: 90.59 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 1.036/1.036, allocations: 90.35 MB / 405 MB, free: 8.629 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.423e-05/4.425e-05, allocations: 0 / 479.2 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4679, allocations: 66.26 MB / 0.5327 GB, free: 28.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.912/2.38, allocations: 0.7558 GB / 1.288 GB, free: 96.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/2.38, allocations: 75.97 kB / 1.289 GB, free: 96.53 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.809/4.189, allocations: 443 MB / 1.721 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.643e-06/4.189, allocations: 3.844 kB / 1.721 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001057/4.189, allocations: 31.62 kB / 1.721 GB, free: 103.1 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.007765/4.197, allocations: 2.191 MB / 1.723 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/4.197, allocations: 7.781 kB / 1.723 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003793/4.198, allocations: 113.2 kB / 1.723 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/4.199, allocations: 192.7 kB / 1.724 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/4.201, allocations: 489.4 kB / 1.724 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/4.201, allocations: 184.9 kB / 1.724 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/4.201, allocations: 73.89 kB / 1.724 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/4.203, allocations: 0.626 MB / 1.725 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/4.203, allocations: 3.781 kB / 1.725 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.159e-05/4.203, allocations: 25.06 kB / 1.725 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/4.203, allocations: 17.44 kB / 1.725 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/4.204, allocations: 0.5359 MB / 1.726 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/4.208, allocations: 2.797 MB / 1.728 GB, free: 99.89 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/4.209, allocations: 0.5489 MB / 1.729 GB, free: 99.85 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/4.209, allocations: 300.9 kB / 1.729 GB, free: 99.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006738/4.21, allocations: 0.785 MB / 1.73 GB, free: 99 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/4.21, allocations: 45.94 kB / 1.73 GB, free: 98.95 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=63): time 3.226e-06/4.21, allocations: 0 / 1.73 GB, free: 98.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63): time 0.002714/4.213, allocations: 0.9143 MB / 1.731 GB, free: 98.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/4.213, allocations: 56.16 kB / 1.731 GB, free: 98.77 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/4.213, allocations: 333.4 kB / 1.731 GB, free: 98.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-05/4.214, allocations: 34.95 kB / 1.731 GB, free: 98.63 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/4.214, allocations: 319.1 kB / 1.732 GB, free: 98.47 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/4.214, allocations: 214.4 kB / 1.732 GB, free: 98.33 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/4.214, allocations: 11.19 kB / 1.732 GB, free: 98.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001678/4.214, allocations: 373 kB / 1.732 GB, free: 98.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/4.215, allocations: 203.8 kB / 1.732 GB, free: 98.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/4.215, allocations: 215 kB / 1.733 GB, free: 98.01 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/4.215, allocations: 212 kB / 1.733 GB, free: 98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/4.215, allocations: 2.531 kB / 1.733 GB, free: 98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002478/4.218, allocations: 0.9181 MB / 1.734 GB, free: 97.89 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/4.218, allocations: 7.906 kB / 1.734 GB, free: 97.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/4.218, allocations: 3.953 kB / 1.734 GB, free: 97.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005643/4.219, allocations: 153.6 kB / 1.734 GB, free: 97.87 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/4.219, allocations: 138.5 kB / 1.734 GB, free: 97.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/4.223, allocations: 4.502 MB / 1.738 GB, free: 94.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/4.224, allocations: 80.73 kB / 1.738 GB, free: 94.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/4.224, allocations: 37.34 kB / 1.738 GB, free: 94.04 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 (56): * Single equations (assignments): 51 * 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.000178/4.224, allocations: 138.1 kB / 1.739 GB, free: 93.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/4.225, allocations: 61.98 kB / 1.739 GB, free: 93.89 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/4.228, allocations: 1.161 MB / 1.74 GB, free: 93.78 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/4.228, allocations: 10.03 kB / 1.74 GB, free: 93.78 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/4.228, allocations: 7.875 kB / 1.74 GB, free: 93.78 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/4.228, allocations: 3.094 kB / 1.74 GB, free: 93.78 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003707/4.231, allocations: 1.91 MB / 1.742 GB, free: 93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/4.231, allocations: 3.594 kB / 1.742 GB, free: 93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007317/4.232, allocations: 144.5 kB / 1.742 GB, free: 93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004819/4.233, allocations: 164.1 kB / 1.742 GB, free: 92.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.932e-05/4.233, allocations: 29.67 kB / 1.742 GB, free: 92.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003856/4.237, allocations: 4.501 MB / 1.746 GB, free: 88.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/4.237, allocations: 3.984 kB / 1.746 GB, free: 88.76 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/4.239, allocations: 1.365 MB / 1.748 GB, free: 88.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/4.24, allocations: 140.9 kB / 1.748 GB, free: 88.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/4.24, allocations: 18.34 kB / 1.748 GB, free: 88.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/4.24, allocations: 55.89 kB / 1.748 GB, free: 88 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/4.241, allocations: 67 kB / 1.748 GB, free: 87.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/4.241, allocations: 42.84 kB / 1.748 GB, free: 87.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003233/4.241, allocations: 267.5 kB / 1.748 GB, free: 87.85 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/4.241, allocations: 0 / 1.748 GB, free: 87.85 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002998/4.244, allocations: 0.7179 MB / 1.749 GB, free: 87.61 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.inletA.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * 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.00756/4.252, allocations: 3.596 MB / 1.752 GB, free: 85.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002184/4.254, allocations: 1.107 MB / 1.754 GB, free: 85.36 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/4.254, allocations: 0 / 1.754 GB, free: 85.36 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/4.255, allocations: 0.8833 MB / 1.754 GB, free: 84.82 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008949/4.256, allocations: 133.4 kB / 1.755 GB, free: 84.78 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/4.26, allocations: 1.495 MB / 1.756 GB, free: 84.14 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/4.261, allocations: 0.9378 MB / 1.757 GB, free: 83.44 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009716/4.262, allocations: 195.4 kB / 1.757 GB, free: 83.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000517/4.262, allocations: 301.1 kB / 1.757 GB, free: 83.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.252e-06/4.262, allocations: 0 / 1.757 GB, free: 83.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07054/4.333, allocations: 41.36 MB / 1.798 GB, free: 45.19 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/4.333, allocations: 241.7 kB / 1.798 GB, free: 44.86 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.739/8.073, allocations: 2.812 kB / 1.798 GB, free: 44.86 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat does not exist to compare? outputFormat=mat