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: translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008315/0.008315, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.988/1.988, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.001068/0.001069, allocations: 94.86 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9868/0.9868, allocations: 90.59 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 8 kB / 485.2 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5659/0.5663, allocations: 66.28 MB / 0.5386 GB, free: 45.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8759/1.442, allocations: 430.7 MB / 0.9592 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/1.443, allocations: 81.31 kB / 0.9592 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.4835/1.926, allocations: 56.26 MB / 1.014 GB, free: 201.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.653e-06/1.926, allocations: 0 / 1.014 GB, free: 201.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.798e-05/1.926, allocations: 3.719 kB / 1.014 GB, free: 201.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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001128/1.927, allocations: 499.3 kB / 1.015 GB, free: 200.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/1.927, allocations: 8.75 kB / 1.015 GB, free: 200.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/1.928, allocations: 21.97 kB / 1.015 GB, free: 200.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/1.928, allocations: 230.9 kB / 1.015 GB, free: 200.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/1.928, allocations: 9.547 kB / 1.015 GB, free: 200.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/1.928, allocations: 11.47 kB / 1.015 GB, free: 200.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/1.928, allocations: 141 kB / 1.015 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.928, allocations: 0 / 1.015 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/1.928, allocations: 5.094 kB / 1.015 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/1.928, allocations: 7.109 kB / 1.015 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/1.929, allocations: 82.23 kB / 1.015 GB, free: 200.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/1.93, allocations: 0.7645 MB / 1.016 GB, free: 199.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/1.93, allocations: 125.6 kB / 1.016 GB, free: 199.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-05/1.93, allocations: 9.234 kB / 1.016 GB, free: 199.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/1.93, allocations: 36.09 kB / 1.016 GB, free: 199.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 4.709e-06/1.93, allocations: 3.984 kB / 1.016 GB, free: 199.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0009032/1.931, allocations: 0.5244 MB / 1.017 GB, free: 198.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/1.931, allocations: 82.55 kB / 1.017 GB, free: 198.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/1.931, allocations: 171.3 kB / 1.017 GB, free: 198.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/1.931, allocations: 25.7 kB / 1.017 GB, free: 198.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/1.932, allocations: 124.8 kB / 1.017 GB, free: 198.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/1.932, allocations: 44.47 kB / 1.017 GB, free: 198.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/1.932, allocations: 5.438 kB / 1.017 GB, free: 198.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.475e-05/1.932, allocations: 321.7 kB / 1.017 GB, free: 198 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/1.932, allocations: 44.23 kB / 1.017 GB, free: 198 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/1.932, allocations: 63.08 kB / 1.017 GB, free: 198 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.53e-05/1.932, allocations: 37.41 kB / 1.017 GB, free: 197.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.932, allocations: 0 / 1.017 GB, free: 197.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003138/1.932, allocations: 186.7 kB / 1.018 GB, free: 197.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.932, allocations: 5.469 kB / 1.018 GB, free: 197.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.932, allocations: 2.656 kB / 1.018 GB, free: 197.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/1.933, allocations: 39.59 kB / 1.018 GB, free: 197.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/1.933, allocations: 8.219 kB / 1.018 GB, free: 197.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/1.934, allocations: 2.573 MB / 1.02 GB, free: 195.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/1.934, allocations: 11 kB / 1.02 GB, free: 195.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/1.934, allocations: 4.406 kB / 1.02 GB, free: 195.1 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.000122/1.934, allocations: 137.3 kB / 1.02 GB, free: 195 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/1.934, allocations: 15.28 kB / 1.02 GB, free: 194.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/1.935, allocations: 173.5 kB / 1.021 GB, free: 194.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.935, allocations: 2.125 kB / 1.021 GB, free: 194.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.935, allocations: 5.203 kB / 1.021 GB, free: 194.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/1.935, allocations: 5.391 kB / 1.021 GB, free: 194.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/1.935, allocations: 244.2 kB / 1.021 GB, free: 194.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.935, allocations: 4 kB / 1.021 GB, free: 194.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/1.935, allocations: 6.438 kB / 1.021 GB, free: 194.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/1.935, allocations: 40.19 kB / 1.021 GB, free: 194.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/1.935, allocations: 6.125 kB / 1.021 GB, free: 194.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/1.937, allocations: 2.575 MB / 1.023 GB, free: 191.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.937, allocations: 1.156 kB / 1.023 GB, free: 191.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/1.937, allocations: 400.4 kB / 1.024 GB, free: 191.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/1.937, allocations: 89.61 kB / 1.024 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/1.937, allocations: 2.188 kB / 1.024 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/1.938, allocations: 5.531 kB / 1.024 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/1.938, allocations: 16.47 kB / 1.024 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/1.938, allocations: 2.969 kB / 1.024 GB, free: 191.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001191/1.938, allocations: 142.4 kB / 1.024 GB, free: 191.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/1.938, allocations: 4.062 kB / 1.024 GB, free: 191.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004609/1.938, allocations: 59.47 kB / 1.024 GB, free: 191.3 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.0004067/1.939, allocations: 232.3 kB / 1.024 GB, free: 191.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005647/1.939, allocations: 380 kB / 1.025 GB, free: 190.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.939, allocations: 0 / 1.025 GB, free: 190.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003056/1.939, allocations: 339.7 kB / 1.025 GB, free: 190.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/1.94, allocations: 49.98 kB / 1.025 GB, free: 190.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008583/1.941, allocations: 0.5501 MB / 1.026 GB, free: 190 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/1.941, allocations: 0.7386 MB / 1.026 GB, free: 189.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.938e-05/1.941, allocations: 16.66 kB / 1.026 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/1.941, allocations: 20.81 kB / 1.026 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/1.941, allocations: 4 kB / 1.026 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.008606/1.95, allocations: 4.095 MB / 1.03 GB, free: 187.2 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (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 & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches