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.00114/0.001141, allocations: 174.7 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.788/1.788, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008704/0.0008708, allocations: 97 kB / 266.6 MB, free: 9.262 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.9788/0.9788, allocations: 90.34 MB / 405 MB, free: 8.641 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.617e-05, allocations: 0 / 479.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5305/0.5306, allocations: 66.25 MB / 0.5327 GB, free: 28.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.276/2.806, allocations: 0.7552 GB / 1.288 GB, free: 73.12 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/2.807, allocations: 83.83 kB / 1.288 GB, free: 73.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.949/4.756, allocations: 427.5 MB / 1.705 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.425e-06/4.756, allocations: 0 / 1.705 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001168/4.756, allocations: 26.59 kB / 1.705 GB, free: 108.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.00905/4.765, allocations: 2.08 MB / 1.707 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.648e-05/4.765, allocations: 10.88 kB / 1.707 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005086/4.765, allocations: 119.7 kB / 1.708 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/4.768, allocations: 195.6 kB / 1.708 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/4.769, allocations: 493 kB / 1.708 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003062/4.769, allocations: 189 kB / 1.708 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/4.77, allocations: 65.75 kB / 1.709 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/4.771, allocations: 0.6233 MB / 1.709 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/4.771, allocations: 2.766 kB / 1.709 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.05e-05/4.771, allocations: 26.91 kB / 1.709 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/4.771, allocations: 18.59 kB / 1.709 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/4.772, allocations: 0.5234 MB / 1.71 GB, free: 106.3 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.003532/4.776, allocations: 2.572 MB / 1.712 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/4.777, allocations: 0.5749 MB / 1.713 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/4.778, allocations: 295.8 kB / 1.713 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/4.778, allocations: 493.5 kB / 1.714 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/4.778, allocations: 40.66 kB / 1.714 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=62): time 3.196e-06/4.778, allocations: 3.438 kB / 1.714 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=62): time 0.002348/4.781, allocations: 0.8898 MB / 1.714 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/4.781, allocations: 63.7 kB / 1.714 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/4.781, allocations: 335.4 kB / 1.715 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/4.781, allocations: 39.64 kB / 1.715 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/4.781, allocations: 312.3 kB / 1.715 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/4.782, allocations: 215.2 kB / 1.715 GB, free: 104 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/4.782, allocations: 10.31 kB / 1.715 GB, free: 104 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000153/4.782, allocations: 369.6 kB / 1.716 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/4.782, allocations: 199.7 kB / 1.716 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/4.783, allocations: 206.4 kB / 1.716 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/4.783, allocations: 218.2 kB / 1.716 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/4.783, allocations: 0 / 1.716 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002175/4.785, allocations: 0.9032 MB / 1.717 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/4.785, allocations: 11.34 kB / 1.717 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/4.785, allocations: 7.469 kB / 1.717 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/4.786, allocations: 150.2 kB / 1.717 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/4.786, allocations: 142.6 kB / 1.717 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004843/4.791, allocations: 4.501 MB / 1.722 GB, free: 99.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/4.792, allocations: 76.81 kB / 1.722 GB, free: 99.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/4.792, allocations: 46.5 kB / 1.722 GB, free: 99.59 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.0002194/4.793, allocations: 132.3 kB / 1.722 GB, free: 99.46 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/4.793, allocations: 63.55 kB / 1.722 GB, free: 99.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/4.796, allocations: 1.153 MB / 1.723 GB, free: 99.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/4.796, allocations: 6.625 kB / 1.723 GB, free: 99.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/4.796, allocations: 3.656 kB / 1.723 GB, free: 99.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/4.796, allocations: 3.703 kB / 1.723 GB, free: 99.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003928/4.8, allocations: 1.863 MB / 1.725 GB, free: 98.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/4.8, allocations: 0 / 1.725 GB, free: 98.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/4.801, allocations: 155.9 kB / 1.725 GB, free: 98.19 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/4.801, allocations: 156.1 kB / 1.725 GB, free: 98.13 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.859e-05/4.802, allocations: 27.48 kB / 1.725 GB, free: 98.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/4.806, allocations: 4.507 MB / 1.73 GB, free: 93.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/4.806, allocations: 3.938 kB / 1.73 GB, free: 93.96 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/4.808, allocations: 1.337 MB / 1.731 GB, free: 93.36 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/4.809, allocations: 197.3 kB / 1.731 GB, free: 93.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/4.809, allocations: 15.25 kB / 1.731 GB, free: 93.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/4.81, allocations: 63.27 kB / 1.731 GB, free: 93.18 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/4.81, allocations: 59.98 kB / 1.731 GB, free: 93.17 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/4.81, allocations: 51.09 kB / 1.732 GB, free: 93.17 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003516/4.81, allocations: 267 kB / 1.732 GB, free: 93.03 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/4.81, allocations: 3.938 kB / 1.732 GB, free: 93.02 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003364/4.814, allocations: 0.666 MB / 1.732 GB, free: 92.81 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.007909/4.821, allocations: 3.558 MB / 1.736 GB, free: 91.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002381/4.824, allocations: 1.087 MB / 1.737 GB, free: 90.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/4.824, allocations: 0 / 1.737 GB, free: 90.59 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/4.825, allocations: 0.877 MB / 1.738 GB, free: 90.05 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/4.827, allocations: 152.1 kB / 1.738 GB, free: 90.01 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/4.831, allocations: 1.491 MB / 1.739 GB, free: 89.37 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/4.832, allocations: 0.9346 MB / 1.74 GB, free: 88.59 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001038/4.833, allocations: 197.2 kB / 1.741 GB, free: 88.55 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/4.834, allocations: 296.1 kB / 1.741 GB, free: 88.32 MB / 0.5886 GB Notification: Performance of SimCode: time 1.413e-06/4.834, allocations: 0 / 1.741 GB, free: 88.32 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08007/4.914, allocations: 42.03 MB / 1.782 GB, free: 47.99 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/4.914, allocations: 238.8 kB / 1.782 GB, free: 47.66 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.815/8.729, allocations: 4 kB / 1.782 GB, free: 47.66 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