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.01263/0.01263, allocations: 173 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.2 MB / 239 MB, free: 1.801 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.001136/0.001136, allocations: 104.9 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.0147/0.0147, allocations: 1.56 MB / 342.9 MB, free: 9.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8342/0.8342, allocations: 90.3 MB / 484.6 MB, free: 21.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004888, allocations: 14.44 kB / 0.5526 GB, free: 30.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1717, allocations: 69.37 MB / 0.6204 GB, free: 5.547 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/1.448, allocations: 430.8 MB / 1.041 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/1.449, allocations: 79.58 kB / 1.041 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1114/1.56, allocations: 57.43 MB / 1.097 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.825e-06/1.56, allocations: 0 / 1.097 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.761e-05/1.56, allocations: 4 kB / 1.097 GB, free: 62.48 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.0007183/1.561, allocations: 0.4945 MB / 1.098 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/1.561, allocations: 15.98 kB / 1.098 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/1.561, allocations: 42.56 kB / 1.098 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/1.561, allocations: 19.81 kB / 1.098 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/1.561, allocations: 234.6 kB / 1.098 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/1.561, allocations: 11.94 kB / 1.098 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/1.561, allocations: 12 kB / 1.098 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/1.561, allocations: 140 kB / 1.098 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.561, allocations: 3.984 kB / 1.098 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/1.561, allocations: 7.953 kB / 1.098 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.561, allocations: 8 kB / 1.098 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/1.562, allocations: 79.89 kB / 1.098 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/1.562, allocations: 0.7597 MB / 1.099 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/1.563, allocations: 129.2 kB / 1.099 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.066e-05/1.563, allocations: 0 / 1.099 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/1.563, allocations: 38.69 kB / 1.099 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/1.563, allocations: 0 / 1.099 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0007626/1.563, allocations: 0.5229 MB / 1.1 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/1.563, allocations: 77.11 kB / 1.1 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/1.564, allocations: 170.9 kB / 1.1 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/1.564, allocations: 33.64 kB / 1.1 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/1.564, allocations: 124 kB / 1.1 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/1.564, allocations: 51.38 kB / 1.1 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/1.564, allocations: 0 / 1.1 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.165e-05/1.564, allocations: 330.8 kB / 1.1 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.592e-05/1.564, allocations: 31.98 kB / 1.1 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.245e-05/1.564, allocations: 63.23 kB / 1.101 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.52e-05/1.564, allocations: 47.98 kB / 1.101 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.564, allocations: 0 / 1.101 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002524/1.564, allocations: 183.4 kB / 1.101 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.564, allocations: 4 kB / 1.101 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.564, allocations: 0 / 1.101 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/1.564, allocations: 45.81 kB / 1.101 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/1.565, allocations: 19.88 kB / 1.101 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/1.566, allocations: 2.568 MB / 1.103 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.001e-05/1.566, allocations: 7.938 kB / 1.103 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/1.566, allocations: 4 kB / 1.103 GB, free: 55.56 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 () * Number of clocked 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.386e-05/1.566, allocations: 134 kB / 1.103 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/1.566, allocations: 19.72 kB / 1.103 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/1.567, allocations: 168.7 kB / 1.104 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.567, allocations: 4 kB / 1.104 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/1.567, allocations: 3.953 kB / 1.104 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.567, allocations: 4 kB / 1.104 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/1.567, allocations: 237.6 kB / 1.104 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.567, allocations: 0 / 1.104 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/1.567, allocations: 8.125 kB / 1.104 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/1.567, allocations: 53.53 kB / 1.104 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/1.567, allocations: 0 / 1.104 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/1.568, allocations: 2.583 MB / 1.106 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.568, allocations: 0 / 1.106 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/1.569, allocations: 398.1 kB / 1.107 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/1.569, allocations: 96.95 kB / 1.107 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/1.569, allocations: 0 / 1.107 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/1.569, allocations: 0 / 1.107 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/1.569, allocations: 19.97 kB / 1.107 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/1.569, allocations: 0 / 1.107 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.628e-05/1.569, allocations: 149.5 kB / 1.107 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/1.569, allocations: 0 / 1.107 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003697/1.569, allocations: 60.09 kB / 1.107 GB, free: 51.27 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 () * Number of clocked 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.0007687/1.57, allocations: 1.109 MB / 1.108 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004881/1.571, allocations: 384.6 kB / 1.109 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.571, allocations: 0 / 1.109 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002824/1.571, allocations: 336.9 kB / 1.109 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/1.571, allocations: 45.94 kB / 1.109 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/1.573, allocations: 1.664 MB / 1.111 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/1.573, allocations: 0.7359 MB / 1.111 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.134e-05/1.573, allocations: 17.41 kB / 1.111 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/1.573, allocations: 59.41 kB / 1.111 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/1.573, allocations: 4 kB / 1.111 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/1.593, allocations: 6.737 MB / 1.118 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/1.593, allocations: 196.6 kB / 1.118 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/3.726, allocations: 7.875 kB / 1.118 GB, free: 39.91 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