Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, 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 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.5 MB / 229.6 MB, free: 3.168 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009843/0.0009841, allocations: 102.2 kB / 280.5 MB, free: 1.121 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01041/0.01041, allocations: 1.564 MB / 332.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5966/0.5966, allocations: 90.06 MB / 474 MB, free: 7.055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.623e-05/1.635e-05, allocations: 0 / 0.5376 GB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1492, allocations: 69.38 MB / 0.6053 GB, free: 8.352 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.331, allocations: 430 MB / 1.025 GB, free: 1.137 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/1.331, allocations: 82 kB / 1.025 GB, free: 1.094 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.4598/1.791, allocations: 56.92 MB / 1.081 GB, free: 212.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/1.791, allocations: 0 / 1.081 GB, free: 212.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.89e-05/1.791, allocations: 7.781 kB / 1.081 GB, free: 212.5 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007078/1.792, allocations: 475.7 kB / 1.081 GB, free: 212.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.792, allocations: 9.062 kB / 1.081 GB, free: 212.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/1.792, allocations: 17.19 kB / 1.081 GB, free: 212.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/1.792, allocations: 231.2 kB / 1.082 GB, free: 211.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/1.792, allocations: 5.469 kB / 1.082 GB, free: 211.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/1.792, allocations: 6.344 kB / 1.082 GB, free: 211.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001356/1.792, allocations: 69.77 kB / 1.082 GB, free: 211.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/1.792, allocations: 123.4 kB / 1.082 GB, free: 211.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.792, allocations: 0.5156 kB / 1.082 GB, free: 211.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/1.792, allocations: 0 / 1.082 GB, free: 211.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/1.792, allocations: 14.95 kB / 1.082 GB, free: 211.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/1.793, allocations: 0.7158 MB / 1.083 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/1.793, allocations: 116.3 kB / 1.083 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/1.793, allocations: 46.84 kB / 1.083 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/1.794, allocations: 13.06 kB / 1.083 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.794, allocations: 45.27 kB / 1.083 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/1.794, allocations: 0 / 1.083 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004146/1.794, allocations: 145.7 kB / 1.083 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/1.794, allocations: 81.48 kB / 1.083 GB, free: 211 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/1.794, allocations: 141.1 kB / 1.083 GB, free: 210.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/1.794, allocations: 25.7 kB / 1.083 GB, free: 210.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/1.794, allocations: 128.5 kB / 1.083 GB, free: 210.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/1.794, allocations: 39.78 kB / 1.083 GB, free: 210.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/1.794, allocations: 3.391 kB / 1.083 GB, free: 210.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.391e-05/1.794, allocations: 327.5 kB / 1.084 GB, free: 210.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/1.794, allocations: 30.69 kB / 1.084 GB, free: 210.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.203e-05/1.795, allocations: 62.42 kB / 1.084 GB, free: 210.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/1.795, allocations: 39.7 kB / 1.084 GB, free: 210.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.795, allocations: 3 kB / 1.084 GB, free: 210.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003032/1.795, allocations: 160.1 kB / 1.084 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.795, allocations: 6.219 kB / 1.084 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.795, allocations: 0.9688 kB / 1.084 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/1.795, allocations: 42.95 kB / 1.084 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/1.795, allocations: 15.98 kB / 1.084 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/1.797, allocations: 2.455 MB / 1.086 GB, free: 207.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/1.797, allocations: 5.594 kB / 1.086 GB, free: 207.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/1.797, allocations: 6.688 kB / 1.086 GB, free: 207.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 6 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/1.797, allocations: 105.1 kB / 1.086 GB, free: 207.8 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002909/1.797, allocations: 155.2 kB / 1.087 GB, free: 207.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/1.797, allocations: 18.3 kB / 1.087 GB, free: 207.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/1.798, allocations: 169.7 kB / 1.087 GB, free: 207.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.798, allocations: 1.375 kB / 1.087 GB, free: 207.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.798, allocations: 1.375 kB / 1.087 GB, free: 207.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/1.798, allocations: 3.938 kB / 1.087 GB, free: 207.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/1.798, allocations: 213 kB / 1.087 GB, free: 207.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.798, allocations: 1.375 kB / 1.087 GB, free: 207.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/1.798, allocations: 5.5 kB / 1.087 GB, free: 207.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/1.798, allocations: 43.31 kB / 1.087 GB, free: 207.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/1.798, allocations: 5.219 kB / 1.087 GB, free: 207.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/1.799, allocations: 2.452 MB / 1.089 GB, free: 205.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.799, allocations: 7.422 kB / 1.089 GB, free: 205.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/1.799, allocations: 382.2 kB / 1.09 GB, free: 204.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/1.8, allocations: 98.97 kB / 1.09 GB, free: 204.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/1.8, allocations: 4.938 kB / 1.09 GB, free: 204.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/1.8, allocations: 1.625 kB / 1.09 GB, free: 204.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/1.8, allocations: 8.625 kB / 1.09 GB, free: 204.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/1.8, allocations: 5.875 kB / 1.09 GB, free: 204.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.194e-05/1.8, allocations: 126.6 kB / 1.09 GB, free: 204.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/1.8, allocations: 0 / 1.09 GB, free: 204.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004248/1.8, allocations: 58.66 kB / 1.09 GB, free: 204.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (source.outlet.m_flow,source1.outlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008322/1.801, allocations: 1.108 MB / 1.091 GB, free: 203.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004519/1.802, allocations: 366.4 kB / 1.092 GB, free: 203.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.802, allocations: 0 / 1.092 GB, free: 203.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/1.802, allocations: 319.4 kB / 1.092 GB, free: 203.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/1.802, allocations: 43.22 kB / 1.092 GB, free: 203.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/1.803, allocations: 390.9 kB / 1.092 GB, free: 203 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/1.803, allocations: 0.7344 MB / 1.093 GB, free: 202.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.082e-05/1.803, allocations: 13.44 kB / 1.093 GB, free: 202.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/1.803, allocations: 55.91 kB / 1.093 GB, free: 202.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/1.803, allocations: 0 / 1.093 GB, free: 202.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/1.832, allocations: 4.993 MB / 1.098 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/1.832, allocations: 148.8 kB / 1.098 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/3.747, allocations: 1 kB / 1.098 GB, free: 201.7 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat does not exist to compare? outputFormat=mat