Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.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.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_SourceSink",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.001101/0.001101, allocations: 172.5 kB / 7.647 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.831/1.831, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0009075/0.0009076, allocations: 91.39 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.8921/0.8921, allocations: 90.37 MB / 399.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.319e-05/2.319e-05, allocations: 0 / 472.3 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.457, allocations: 66.26 MB / 0.5259 GB, free: 28.96 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.374/1.831, allocations: 430 MB / 0.9458 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/1.831, allocations: 75.19 kB / 0.9459 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1107/1.942, allocations: 55.75 MB / 1 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.884e-06/1.942, allocations: 0 / 1 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.071e-05/1.942, allocations: 11.94 kB / 1 GB, free: 152.4 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007257/1.943, allocations: 484.6 kB / 1.001 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.943, allocations: 16.03 kB / 1.001 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/1.943, allocations: 19.72 kB / 1.001 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/1.943, allocations: 225.8 kB / 1.001 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/1.943, allocations: 3.938 kB / 1.001 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/1.943, allocations: 11.91 kB / 1.001 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000138/1.943, allocations: 69.73 kB / 1.001 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/1.943, allocations: 125.1 kB / 1.001 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/1.943, allocations: 0 / 1.001 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/1.943, allocations: 0 / 1.001 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.943, allocations: 8 kB / 1.001 GB, free: 151.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/1.944, allocations: 0.7172 MB / 1.002 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/1.944, allocations: 117.3 kB / 1.002 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.102e-05/1.944, allocations: 52.7 kB / 1.002 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-05/1.945, allocations: 6.312 kB / 1.002 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/1.945, allocations: 36.94 kB / 1.002 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/1.945, allocations: 0 / 1.002 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0004088/1.945, allocations: 153.2 kB / 1.002 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/1.945, allocations: 79.92 kB / 1.002 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/1.945, allocations: 140.5 kB / 1.003 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/1.945, allocations: 25.7 kB / 1.003 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/1.945, allocations: 127.2 kB / 1.003 GB, free: 150 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/1.945, allocations: 40.02 kB / 1.003 GB, free: 150 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/1.945, allocations: 0 / 1.003 GB, free: 150 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.254e-05/1.945, allocations: 326.2 kB / 1.003 GB, free: 149.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/1.945, allocations: 31.62 kB / 1.003 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.176e-05/1.945, allocations: 60.42 kB / 1.003 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/1.946, allocations: 36.92 kB / 1.003 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.946, allocations: 0 / 1.003 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002726/1.946, allocations: 170.8 kB / 1.003 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.946, allocations: 5.094 kB / 1.003 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.946, allocations: 4 kB / 1.003 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/1.946, allocations: 39.58 kB / 1.003 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/1.946, allocations: 8 kB / 1.003 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/1.947, allocations: 2.465 MB / 1.006 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.4e-05/1.948, allocations: 4.062 kB / 1.006 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/1.948, allocations: 8 kB / 1.006 GB, free: 146.8 MB / 0.5886 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 6.9e-05/1.948, allocations: 117 kB / 1.006 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002734/1.948, allocations: 147.5 kB / 1.006 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/1.948, allocations: 11.81 kB / 1.006 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/1.948, allocations: 172.7 kB / 1.006 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.948, allocations: 0 / 1.006 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.948, allocations: 7.984 kB / 1.006 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.948, allocations: 0 / 1.006 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/1.949, allocations: 211.1 kB / 1.006 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.949, allocations: 0 / 1.006 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/1.949, allocations: 14.83 kB / 1.006 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/1.949, allocations: 40.56 kB / 1.006 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/1.949, allocations: 3.438 kB / 1.006 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/1.95, allocations: 2.465 MB / 1.009 GB, free: 143.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.95, allocations: 0 / 1.009 GB, free: 143.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/1.95, allocations: 376 kB / 1.009 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/1.95, allocations: 88.95 kB / 1.009 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/1.95, allocations: 7.984 kB / 1.009 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/1.951, allocations: 3.938 kB / 1.009 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/1.951, allocations: 14.67 kB / 1.009 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/1.951, allocations: 8.062 kB / 1.009 GB, free: 143 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.977e-05/1.951, allocations: 115.3 kB / 1.009 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.951, allocations: 0 / 1.009 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000405/1.951, allocations: 67.97 kB / 1.01 GB, free: 142.8 MB / 0.5886 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.0007966/1.952, allocations: 1.107 MB / 1.011 GB, free: 141.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00041/1.952, allocations: 353.1 kB / 1.011 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.952, allocations: 0 / 1.011 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/1.953, allocations: 328 kB / 1.011 GB, free: 141.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/1.953, allocations: 32.22 kB / 1.011 GB, free: 141 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007585/1.954, allocations: 391.7 kB / 1.012 GB, free: 140.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/1.954, allocations: 0.7358 MB / 1.012 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.537e-05/1.954, allocations: 12.75 kB / 1.012 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/1.954, allocations: 56.05 kB / 1.012 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of SimCode: time 3.01e-07/1.954, allocations: 3.938 kB / 1.012 GB, free: 139.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/1.979, allocations: 4.999 MB / 1.017 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/1.979, allocations: 154.6 kB / 1.017 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/3.847, allocations: 0 / 1.017 GB, free: 134.7 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat does not exist to compare? outputFormat=mat