Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",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.001213/0.001213, allocations: 172.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0009162/0.0009162, allocations: 90.05 kB / 280.5 MB, free: 5.332 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.008898/0.008898, allocations: 1.561 MB / 332.8 MB, free: 13.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6802/0.6802, allocations: 90.03 MB / 474 MB, free: 13.05 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.88e-05, allocations: 2.812 kB / 0.5376 GB, free: 33.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1481, allocations: 69.37 MB / 0.6053 GB, free: 32 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.334, allocations: 436.6 MB / 1.032 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/1.335, allocations: 82.14 kB / 1.032 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.2055/1.54, allocations: 103.1 MB / 1.132 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/1.54, allocations: 0 / 1.132 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.681e-05/1.54, allocations: 11.98 kB / 1.132 GB, free: 28.77 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001757/1.542, allocations: 0.8102 MB / 1.133 GB, free: 27.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.542, allocations: 16.02 kB / 1.133 GB, free: 27.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005357/1.543, allocations: 79.31 kB / 1.133 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/1.543, allocations: 371.5 kB / 1.134 GB, free: 27.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/1.543, allocations: 12 kB / 1.134 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/1.543, allocations: 28 kB / 1.134 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006152/1.544, allocations: 458.4 kB / 1.134 GB, free: 26.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/1.544, allocations: 387.9 kB / 1.135 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/1.545, allocations: 0 / 1.135 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/1.545, allocations: 3.953 kB / 1.135 GB, free: 26.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/1.545, allocations: 15.98 kB / 1.135 GB, free: 26.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/1.547, allocations: 2.111 MB / 1.137 GB, free: 24.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/1.547, allocations: 0.5005 MB / 1.137 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/1.548, allocations: 235 kB / 1.137 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001967/1.55, allocations: 1.83 MB / 1.139 GB, free: 21.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/1.55, allocations: 39 kB / 1.139 GB, free: 21.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=55): time 1.943e-06/1.55, allocations: 4 kB / 1.139 GB, free: 21.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55): time 0.001383/1.551, allocations: 0.5851 MB / 1.14 GB, free: 20.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/1.551, allocations: 59.84 kB / 1.14 GB, free: 20.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/1.551, allocations: 249.2 kB / 1.14 GB, free: 20.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/1.551, allocations: 25.7 kB / 1.14 GB, free: 20.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/1.551, allocations: 220.5 kB / 1.14 GB, free: 20.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/1.552, allocations: 189.2 kB / 1.14 GB, free: 19.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/1.552, allocations: 0 / 1.14 GB, free: 19.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/1.552, allocations: 350.7 kB / 1.141 GB, free: 19.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/1.552, allocations: 149.1 kB / 1.141 GB, free: 19.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/1.552, allocations: 217.1 kB / 1.141 GB, free: 19.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007643/1.553, allocations: 277.8 kB / 1.141 GB, free: 19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.553, allocations: 8 kB / 1.141 GB, free: 18.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001229/1.554, allocations: 0.6163 MB / 1.142 GB, free: 18.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.554, allocations: 8.125 kB / 1.142 GB, free: 18.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/1.554, allocations: 0 / 1.142 GB, free: 18.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/1.554, allocations: 61.67 kB / 1.142 GB, free: 18.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/1.555, allocations: 87.84 kB / 1.142 GB, free: 18.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/1.556, allocations: 2.618 MB / 1.145 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/1.557, allocations: 23.72 kB / 1.145 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/1.557, allocations: 19.98 kB / 1.145 GB, free: 15.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001541/1.557, allocations: 119 kB / 1.145 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001487/1.559, allocations: 0.5851 MB / 1.145 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.038e-05/1.559, allocations: 39.53 kB / 1.145 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/1.56, allocations: 0.7404 MB / 1.146 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.56, allocations: 15.98 kB / 1.146 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/1.56, allocations: 0 / 1.146 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.56, allocations: 0 / 1.146 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/1.563, allocations: 1.304 MB / 1.147 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.563, allocations: 4 kB / 1.147 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/1.563, allocations: 79.95 kB / 1.148 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/1.563, allocations: 69.78 kB / 1.148 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/1.563, allocations: 19.94 kB / 1.148 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/1.565, allocations: 2.615 MB / 1.15 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.565, allocations: 4.031 kB / 1.15 GB, free: 9.398 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/1.566, allocations: 0.9861 MB / 1.151 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/1.566, allocations: 132.4 kB / 1.151 GB, free: 8.215 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/1.566, allocations: 0 / 1.151 GB, free: 8.215 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/1.567, allocations: 19.91 kB / 1.151 GB, free: 8.195 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/1.567, allocations: 44.33 kB / 1.151 GB, free: 8.152 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/1.567, allocations: 19.98 kB / 1.151 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001537/1.567, allocations: 196.6 kB / 1.152 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/1.567, allocations: 0 / 1.152 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007/1.568, allocations: 199.6 kB / 1.152 GB, free: 7.746 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/1.57, allocations: 1.949 MB / 1.154 GB, free: 5.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008617/1.571, allocations: 0.6409 MB / 1.154 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.571, allocations: 0 / 1.154 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004743/1.571, allocations: 481.5 kB / 1.155 GB, free: 4.605 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/1.572, allocations: 125.9 kB / 1.155 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/1.573, allocations: 0.8008 MB / 1.156 GB, free: 3.637 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/1.574, allocations: 0.8398 MB / 1.156 GB, free: 2.773 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003389/1.574, allocations: 89.95 kB / 1.157 GB, free: 2.688 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/1.574, allocations: 179.4 kB / 1.157 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of SimCode: time 1.263e-06/1.574, allocations: 0 / 1.157 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3839/1.958, allocations: 13.46 MB / 1.17 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/1.958, allocations: 162 kB / 1.17 GB, free: 177.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/4.283, allocations: 0 / 1.17 GB, free: 177.2 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat does not exist to compare? outputFormat=mat