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.01591/0.01591, allocations: 173.6 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001044/0.001044, allocations: 98.83 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 1.025/1.025, allocations: 90.59 MB / 408.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.000377, allocations: 11.98 kB / 485.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5964/0.5968, allocations: 66.27 MB / 0.5387 GB, free: 45.61 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9428/1.54, allocations: 430.7 MB / 0.9593 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/1.54, allocations: 75.66 kB / 0.9593 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.4633/2.003, allocations: 56.27 MB / 1.014 GB, free: 200.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.07e-06/2.003, allocations: 0 / 1.014 GB, free: 200.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.231e-05/2.004, allocations: 4.094 kB / 1.014 GB, free: 200.8 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.00125/2.005, allocations: 0.4965 MB / 1.015 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 8.675e-05/2.005, allocations: 13.44 kB / 1.015 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.803e-05/2.005, allocations: 42.17 kB / 1.015 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.059e-05/2.005, allocations: 17.47 kB / 1.015 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/2.005, allocations: 236.8 kB / 1.015 GB, free: 200 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/2.005, allocations: 8.688 kB / 1.015 GB, free: 200 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/2.005, allocations: 10.28 kB / 1.015 GB, free: 200 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/2.006, allocations: 141.6 kB / 1.015 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/2.006, allocations: 0 / 1.015 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/2.006, allocations: 13.09 kB / 1.015 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/2.006, allocations: 8.031 kB / 1.015 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/2.006, allocations: 74.72 kB / 1.015 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/2.007, allocations: 0.7677 MB / 1.016 GB, free: 199.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/2.008, allocations: 121.4 kB / 1.016 GB, free: 199 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.425e-05/2.008, allocations: 12.19 kB / 1.016 GB, free: 199 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/2.008, allocations: 36.03 kB / 1.016 GB, free: 198.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/2.008, allocations: 1.312 kB / 1.016 GB, free: 198.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.00104/2.009, allocations: 0.5257 MB / 1.017 GB, free: 198.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/2.009, allocations: 82.33 kB / 1.017 GB, free: 198.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/2.009, allocations: 171.5 kB / 1.017 GB, free: 198.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/2.009, allocations: 26.95 kB / 1.017 GB, free: 198.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/2.009, allocations: 119.1 kB / 1.017 GB, free: 198 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/2.009, allocations: 45.97 kB / 1.017 GB, free: 198 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/2.009, allocations: 4 kB / 1.017 GB, free: 198 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001118/2.009, allocations: 331.1 kB / 1.017 GB, free: 197.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/2.01, allocations: 32.27 kB / 1.018 GB, free: 197.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.835e-05/2.01, allocations: 58.94 kB / 1.018 GB, free: 197.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.675e-05/2.01, allocations: 43.52 kB / 1.018 GB, free: 197.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/2.01, allocations: 0.9688 kB / 1.018 GB, free: 197.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003413/2.01, allocations: 179.4 kB / 1.018 GB, free: 197.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/2.01, allocations: 14.31 kB / 1.018 GB, free: 197.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/2.01, allocations: 1 kB / 1.018 GB, free: 197.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/2.01, allocations: 38.88 kB / 1.018 GB, free: 197.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/2.011, allocations: 9.031 kB / 1.018 GB, free: 197.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/2.012, allocations: 2.576 MB / 1.02 GB, free: 194.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/2.012, allocations: 12.12 kB / 1.02 GB, free: 194.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/2.012, allocations: 3.844 kB / 1.02 GB, free: 194.7 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 () * 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 0.0001264/2.013, allocations: 136.4 kB / 1.021 GB, free: 194.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/2.013, allocations: 15.78 kB / 1.021 GB, free: 194.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/2.013, allocations: 174.6 kB / 1.021 GB, free: 194.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/2.013, allocations: 2.125 kB / 1.021 GB, free: 194.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/2.013, allocations: 9.047 kB / 1.021 GB, free: 194.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/2.013, allocations: 1.094 kB / 1.021 GB, free: 194.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/2.013, allocations: 243.2 kB / 1.021 GB, free: 194.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/2.013, allocations: 1.156 kB / 1.021 GB, free: 194.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/2.013, allocations: 6.094 kB / 1.021 GB, free: 194.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/2.014, allocations: 37.91 kB / 1.021 GB, free: 194.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/2.014, allocations: 10.36 kB / 1.021 GB, free: 194.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/2.015, allocations: 2.577 MB / 1.023 GB, free: 191.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/2.015, allocations: 3.984 kB / 1.024 GB, free: 191.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/2.016, allocations: 401.8 kB / 1.024 GB, free: 191.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/2.016, allocations: 94.53 kB / 1.024 GB, free: 191 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/2.016, allocations: 1.125 kB / 1.024 GB, free: 191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/2.016, allocations: 6.312 kB / 1.024 GB, free: 191 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/2.016, allocations: 8.797 kB / 1.024 GB, free: 191 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/2.016, allocations: 7.094 kB / 1.024 GB, free: 191 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001239/2.016, allocations: 141.5 kB / 1.024 GB, free: 190.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.11e-07/2.016, allocations: 5.25 kB / 1.024 GB, free: 190.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004841/2.017, allocations: 58.11 kB / 1.024 GB, free: 190.9 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 () * 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.001075/2.018, allocations: 1.119 MB / 1.025 GB, free: 189.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006066/2.018, allocations: 376.9 kB / 1.026 GB, free: 189.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/2.018, allocations: 4.125 kB / 1.026 GB, free: 189.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/2.019, allocations: 345 kB / 1.026 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/2.019, allocations: 48.45 kB / 1.026 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/2.021, allocations: 1.639 MB / 1.028 GB, free: 187.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/2.021, allocations: 0.7344 MB / 1.028 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.144e-05/2.021, allocations: 17.61 kB / 1.028 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/2.022, allocations: 63.61 kB / 1.028 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of SimCode: time 9.62e-07/2.022, allocations: 0 / 1.028 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/2.044, allocations: 6.753 MB / 1.035 GB, free: 183.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/2.044, allocations: 220.5 kB / 1.035 GB, free: 183.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/4.262, allocations: 0 / 1.035 GB, free: 183.6 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