Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.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.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe",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.0009531/0.0009531, allocations: 176.6 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.616/1.616, allocations: 205.3 MB / 213.4 MB, free: 13.7 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.0008204/0.0008204, allocations: 84.23 kB / 261.4 MB, free: 13.45 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.8253/0.8253, allocations: 90.36 MB / 399.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.788e-05, allocations: 4 kB / 472.3 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3515, allocations: 66.26 MB / 0.5259 GB, free: 28.96 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6552/1.007, allocations: 353.1 MB / 0.8708 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/1.007, allocations: 76.41 kB / 0.8709 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.5025/1.51, allocations: 96.88 MB / 0.9655 GB, free: 175.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.683e-06/1.51, allocations: 3.969 kB / 0.9655 GB, free: 175.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.63e-05/1.51, allocations: 15 kB / 0.9655 GB, free: 175.2 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001868/1.512, allocations: 0.7808 MB / 0.9663 GB, free: 174.6 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.512, allocations: 11.34 kB / 0.9663 GB, free: 174.6 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003541/1.512, allocations: 67.86 kB / 0.9663 GB, free: 174.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006804/1.513, allocations: 357.5 kB / 0.9667 GB, free: 174.2 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/1.513, allocations: 15.25 kB / 0.9667 GB, free: 174.2 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/1.513, allocations: 22.16 kB / 0.9667 GB, free: 174.2 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006199/1.513, allocations: 369.7 kB / 0.9671 GB, free: 174.1 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/1.514, allocations: 387.5 kB / 0.9674 GB, free: 173.8 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/1.514, allocations: 7.891 kB / 0.9674 GB, free: 173.8 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/1.514, allocations: 0 / 0.9674 GB, free: 173.8 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/1.514, allocations: 11.34 kB / 0.9675 GB, free: 173.8 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/1.516, allocations: 1.978 MB / 0.9694 GB, free: 172 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/1.517, allocations: 447.4 kB / 0.9698 GB, free: 171.8 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/1.517, allocations: 179.3 kB / 0.97 GB, free: 171.7 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003329/1.518, allocations: 435.5 kB / 0.9704 GB, free: 171.2 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/1.518, allocations: 42.12 kB / 0.9704 GB, free: 171.1 MB / 0.573 GB Notification: Performance of pre-optimization done (n=44): time 1.944e-06/1.518, allocations: 0 / 0.9704 GB, free: 171.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=44): time 0.002894/1.521, allocations: 0.7167 MB / 0.9711 GB, free: 170.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/1.521, allocations: 84.98 kB / 0.9712 GB, free: 170.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/1.521, allocations: 247.8 kB / 0.9715 GB, free: 170.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/1.521, allocations: 25.7 kB / 0.9715 GB, free: 170.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/1.521, allocations: 236 kB / 0.9717 GB, free: 170.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.34e-05/1.521, allocations: 154.9 kB / 0.9719 GB, free: 170.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/1.521, allocations: 0 / 0.9719 GB, free: 170.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/1.521, allocations: 349 kB / 0.9722 GB, free: 169.8 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.521, allocations: 121.9 kB / 0.9723 GB, free: 169.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/1.522, allocations: 174 kB / 0.9725 GB, free: 169.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/1.522, allocations: 146.2 kB / 0.9726 GB, free: 169.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.522, allocations: 0 / 0.9726 GB, free: 169.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002658/1.525, allocations: 0.7564 MB / 0.9733 GB, free: 168.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.525, allocations: 4 kB / 0.9733 GB, free: 168.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.525, allocations: 3.984 kB / 0.9734 GB, free: 168.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002425/1.527, allocations: 477.3 kB / 0.9738 GB, free: 168.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/1.528, allocations: 67.86 kB / 0.9739 GB, free: 168.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/1.529, allocations: 2.047 MB / 0.9759 GB, free: 166.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/1.529, allocations: 31.7 kB / 0.9759 GB, free: 166 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/1.529, allocations: 16 kB / 0.9759 GB, free: 166 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.53, allocations: 109.3 kB / 0.976 GB, free: 165.9 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002697/1.532, allocations: 0.7165 MB / 0.9767 GB, free: 165.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/1.532, allocations: 51.38 kB / 0.9768 GB, free: 165.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/1.535, allocations: 0.7898 MB / 0.9775 GB, free: 164.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/1.535, allocations: 8 kB / 0.9775 GB, free: 164.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.535, allocations: 0 / 0.9775 GB, free: 164.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.535, allocations: 11.94 kB / 0.9776 GB, free: 164.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/1.539, allocations: 1.281 MB / 0.9788 GB, free: 163 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.539, allocations: 4 kB / 0.9788 GB, free: 163 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/1.539, allocations: 59.91 kB / 0.9789 GB, free: 162.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/1.541, allocations: 477.2 kB / 0.9793 GB, free: 162.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/1.541, allocations: 4 kB / 0.9793 GB, free: 162.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/1.543, allocations: 2.069 MB / 0.9813 GB, free: 160.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.543, allocations: 4.031 kB / 0.9814 GB, free: 160.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/1.546, allocations: 1.122 MB / 0.9824 GB, free: 159.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/1.546, allocations: 116.6 kB / 0.9826 GB, free: 158.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/1.546, allocations: 4 kB / 0.9826 GB, free: 158.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/1.546, allocations: 19.98 kB / 0.9826 GB, free: 158.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/1.546, allocations: 35.91 kB / 0.9826 GB, free: 158.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/1.546, allocations: 15.98 kB / 0.9826 GB, free: 158.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002796/1.547, allocations: 196.6 kB / 0.9828 GB, free: 158.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.547, allocations: 3.938 kB / 0.9828 GB, free: 158.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00101/1.548, allocations: 191.6 kB / 0.983 GB, free: 158.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003988/1.552, allocations: 2.087 MB / 0.985 GB, free: 156.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0008519/1.553, allocations: 0.4909 MB / 0.9855 GB, free: 155.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.553, allocations: 0 / 0.9855 GB, free: 155.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004303/1.553, allocations: 351.5 kB / 0.9859 GB, free: 155.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/1.554, allocations: 104.4 kB / 0.986 GB, free: 155.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/1.555, allocations: 0.7558 MB / 0.9867 GB, free: 154.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/1.556, allocations: 0.8395 MB / 0.9875 GB, free: 153.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000243/1.556, allocations: 55.08 kB / 0.9876 GB, free: 153.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/1.556, allocations: 163.4 kB / 0.9877 GB, free: 153.5 MB / 0.573 GB Notification: Performance of SimCode: time 5.11e-07/1.556, allocations: 0 / 0.9877 GB, free: 153.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/1.593, allocations: 13.11 MB / 1.001 GB, free: 140.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/1.593, allocations: 162.9 kB / 1.001 GB, free: 140.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/4.181, allocations: 0 / 1.001 GB, free: 140.3 MB / 0.573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat does not exist to compare? outputFormat=mat