Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.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.Processes.Tests.Flow_Resistance,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Flow_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Flow_Resistance,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Flow_Resistance",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.0009573/0.0009573, allocations: 181.5 kB / 7.65 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.357/1.357, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.0009316/0.0009315, allocations: 103.1 kB / 280.5 MB, free: 5.324 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.01121/0.01122, allocations: 1.559 MB / 332.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6844/0.6844, allocations: 90.05 MB / 474 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.259e-05/2.263e-05, allocations: 0 / 0.5376 GB, free: 33.12 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1521, allocations: 69.37 MB / 0.6053 GB, free: 28 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.241/1.393, allocations: 436.8 MB / 1.032 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/1.394, allocations: 75.52 kB / 1.032 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.7996/2.193, allocations: 199.1 MB / 1.226 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/2.193, allocations: 0 / 1.226 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.751e-05/2.193, allocations: 21.12 kB / 1.226 GB, free: 168.3 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002499/2.196, allocations: 1.001 MB / 1.227 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/2.196, allocations: 14.12 kB / 1.227 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004737/2.196, allocations: 89.97 kB / 1.227 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/2.197, allocations: 421.1 kB / 1.228 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/2.197, allocations: 16.25 kB / 1.228 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/2.197, allocations: 34.66 kB / 1.228 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007087/2.198, allocations: 467.6 kB / 1.228 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007399/2.199, allocations: 490.4 kB / 1.229 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/2.199, allocations: 7.891 kB / 1.229 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/2.199, allocations: 0 / 1.229 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/2.199, allocations: 14.97 kB / 1.229 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/2.201, allocations: 2.366 MB / 1.231 GB, free: 165.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/2.202, allocations: 0.559 MB / 1.232 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/2.202, allocations: 273.1 kB / 1.232 GB, free: 164.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/2.203, allocations: 371.7 kB / 1.232 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/2.203, allocations: 42.5 kB / 1.232 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 2.454e-06/2.203, allocations: 3.781 kB / 1.232 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.001565/2.204, allocations: 0.6064 MB / 1.233 GB, free: 163.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/2.205, allocations: 136.4 kB / 1.233 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/2.205, allocations: 303.8 kB / 1.233 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/2.205, allocations: 25.7 kB / 1.233 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/2.205, allocations: 259.1 kB / 1.234 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/2.205, allocations: 197.9 kB / 1.234 GB, free: 163 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/2.205, allocations: 3.938 kB / 1.234 GB, free: 163 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/2.205, allocations: 363.5 kB / 1.234 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/2.206, allocations: 180.3 kB / 1.234 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/2.206, allocations: 225.4 kB / 1.235 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/2.206, allocations: 192.3 kB / 1.235 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/2.206, allocations: 0 / 1.235 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001448/2.208, allocations: 0.6506 MB / 1.235 GB, free: 162 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/2.208, allocations: 8.062 kB / 1.235 GB, free: 162 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/2.208, allocations: 3.984 kB / 1.235 GB, free: 162 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006785/2.209, allocations: 196.9 kB / 1.236 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/2.209, allocations: 154.4 kB / 1.236 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/2.213, allocations: 5.007 MB / 1.241 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/2.213, allocations: 23.25 kB / 1.241 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/2.213, allocations: 22.08 kB / 1.241 GB, free: 156.8 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: flowResistance.m_flow:VARIABLE(unit = "kg/s" stateSelect=StateSelect.prefer ) "mass flow through component" type: Real 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 (46): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000255/2.213, allocations: 116.3 kB / 1.241 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001635/2.215, allocations: 0.6163 MB / 1.241 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/2.215, allocations: 54.97 kB / 1.241 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/2.217, allocations: 0.7489 MB / 1.242 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/2.217, allocations: 10.8 kB / 1.242 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/2.217, allocations: 3.719 kB / 1.242 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/2.217, allocations: 3.984 kB / 1.242 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/2.219, allocations: 1.14 MB / 1.243 GB, free: 155 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/2.219, allocations: 3.75 kB / 1.243 GB, free: 155 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/2.22, allocations: 84.52 kB / 1.243 GB, free: 155 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003924/2.22, allocations: 121.1 kB / 1.243 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/2.22, allocations: 14.59 kB / 1.243 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003021/2.223, allocations: 5.17 MB / 1.249 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/2.223, allocations: 3.781 kB / 1.249 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/2.225, allocations: 1.27 MB / 1.25 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/2.225, allocations: 131.6 kB / 1.25 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/2.225, allocations: 7.953 kB / 1.25 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/2.226, allocations: 14.94 kB / 1.25 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/2.226, allocations: 50.23 kB / 1.25 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/2.226, allocations: 23.03 kB / 1.25 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002175/2.226, allocations: 235.8 kB / 1.25 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/2.226, allocations: 3.938 kB / 1.25 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001181/2.227, allocations: 323.8 kB / 1.251 GB, free: 148.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (flowResistance.m_flow,flowResistance1.m_flow,flowResistance2.m_flow,flowResistance3.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 46 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 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.002771/2.23, allocations: 2.585 MB / 1.253 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001473/2.232, allocations: 0.8815 MB / 1.254 GB, free: 146 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.232, allocations: 3.938 kB / 1.254 GB, free: 146 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007479/2.232, allocations: 0.8432 MB / 1.255 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009816/2.233, allocations: 167 kB / 1.255 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/2.235, allocations: 1.128 MB / 1.256 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/2.236, allocations: 0.9018 MB / 1.257 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000356/2.236, allocations: 90.41 kB / 1.257 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/2.236, allocations: 231.3 kB / 1.257 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.352e-06/2.236, allocations: 0 / 1.257 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04552/2.282, allocations: 19.69 MB / 1.276 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/2.282, allocations: 144.1 kB / 1.277 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/4.874, allocations: 0 / 1.277 GB, free: 123.7 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Flow_Resistance_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Flow_Resistance.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance_res.mat does not exist to compare? outputFormat=mat