Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve",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.001144/0.001144, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001036, allocations: 94.92 kB / 285.6 MB, free: 12.98 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.01735/0.01735, allocations: 1.557 MB / 338 MB, free: 8.465 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6293/0.6293, allocations: 90.04 MB / 479.4 MB, free: 2.969 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.176e-05, allocations: 4 kB / 0.5446 GB, free: 7.875 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1837, allocations: 69.36 MB / 0.6123 GB, free: 2.422 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.345/1.528, allocations: 438.3 MB / 1.04 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/1.529, allocations: 78.34 kB / 1.04 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.6104/2.139, allocations: 75.23 MB / 1.114 GB, free: 191.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/2.139, allocations: 0 / 1.114 GB, free: 191.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.981e-05/2.139, allocations: 11.67 kB / 1.114 GB, free: 191.4 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001792/2.141, allocations: 0.7321 MB / 1.115 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/2.141, allocations: 19.92 kB / 1.115 GB, free: 190.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/2.141, allocations: 66.53 kB / 1.115 GB, free: 190.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/2.141, allocations: 51.48 kB / 1.115 GB, free: 190.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/2.142, allocations: 314.2 kB / 1.115 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/2.142, allocations: 24.78 kB / 1.115 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/2.142, allocations: 39.98 kB / 1.115 GB, free: 190.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/2.143, allocations: 387.8 kB / 1.115 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/2.143, allocations: 4 kB / 1.115 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/2.143, allocations: 12 kB / 1.115 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/2.143, allocations: 11.98 kB / 1.115 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/2.143, allocations: 342.9 kB / 1.116 GB, free: 189.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/2.145, allocations: 1.867 MB / 1.118 GB, free: 187.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/2.146, allocations: 403.2 kB / 1.118 GB, free: 186.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/2.146, allocations: 194.6 kB / 1.118 GB, free: 186.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001672/2.148, allocations: 1.316 MB / 1.119 GB, free: 185.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/2.148, allocations: 220.5 kB / 1.12 GB, free: 185 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.404e-06/2.148, allocations: 0 / 1.12 GB, free: 185 MB / 0.6042 GB Notification: Performance of matching and sorting (n=41): time 0.0008233/2.149, allocations: 406.3 kB / 1.12 GB, free: 184.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/2.149, allocations: 59.41 kB / 1.12 GB, free: 184.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/2.149, allocations: 231.5 kB / 1.12 GB, free: 184.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/2.149, allocations: 37.7 kB / 1.12 GB, free: 184.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/2.15, allocations: 196.1 kB / 1.121 GB, free: 184.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/2.15, allocations: 137.4 kB / 1.121 GB, free: 184 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/2.15, allocations: 11.94 kB / 1.121 GB, free: 183.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001285/2.15, allocations: 351.4 kB / 1.121 GB, free: 183.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/2.15, allocations: 124.9 kB / 1.121 GB, free: 183.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/2.15, allocations: 193.3 kB / 1.121 GB, free: 183.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/2.151, allocations: 166.9 kB / 1.122 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/2.151, allocations: 0 / 1.122 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007791/2.151, allocations: 493.1 kB / 1.122 GB, free: 182.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/2.151, allocations: 37.66 kB / 1.122 GB, free: 182.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/2.151, allocations: 3.984 kB / 1.122 GB, free: 182.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/2.152, allocations: 40.83 kB / 1.122 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/2.152, allocations: 80.05 kB / 1.122 GB, free: 182.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/2.153, allocations: 1.421 MB / 1.124 GB, free: 180.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/2.153, allocations: 47.67 kB / 1.124 GB, free: 180.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/2.153, allocations: 19.98 kB / 1.124 GB, free: 180.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/2.154, allocations: 124.9 kB / 1.124 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/2.154, allocations: 35.58 kB / 1.124 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009218/2.155, allocations: 0.5126 MB / 1.124 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/2.155, allocations: 4 kB / 1.124 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/2.155, allocations: 0 / 1.124 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/2.155, allocations: 3.984 kB / 1.124 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/2.156, allocations: 1.042 MB / 1.125 GB, free: 179 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/2.156, allocations: 8.031 kB / 1.125 GB, free: 179 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/2.156, allocations: 79.89 kB / 1.125 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001517/2.157, allocations: 52.83 kB / 1.125 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/2.157, allocations: 11.98 kB / 1.125 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009534/2.158, allocations: 1.413 MB / 1.127 GB, free: 177.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/2.158, allocations: 0 / 1.127 GB, free: 177.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009805/2.159, allocations: 0.7169 MB / 1.128 GB, free: 176.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/2.159, allocations: 116.8 kB / 1.128 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/2.159, allocations: 16 kB / 1.128 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/2.159, allocations: 23.89 kB / 1.128 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/2.159, allocations: 43.89 kB / 1.128 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/2.159, allocations: 15.98 kB / 1.128 GB, free: 176.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001827/2.159, allocations: 187.1 kB / 1.128 GB, free: 176.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/2.159, allocations: 0 / 1.128 GB, free: 176.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007689/2.16, allocations: 183.8 kB / 1.128 GB, free: 176 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (checkValve.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001785/2.162, allocations: 1.567 MB / 1.13 GB, free: 174.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007975/2.163, allocations: 0.5224 MB / 1.13 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/2.163, allocations: 0 / 1.13 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/2.163, allocations: 322.4 kB / 1.13 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/2.164, allocations: 104.6 kB / 1.131 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/2.165, allocations: 0.6563 MB / 1.131 GB, free: 172.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/2.166, allocations: 0.8005 MB / 1.132 GB, free: 171.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002828/2.166, allocations: 78.94 kB / 1.132 GB, free: 171.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/2.166, allocations: 135.4 kB / 1.132 GB, free: 171.7 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/2.166, allocations: 3.938 kB / 1.132 GB, free: 171.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/2.195, allocations: 12.95 MB / 1.145 GB, free: 159 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/2.195, allocations: 183.3 kB / 1.145 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/4.74, allocations: 0 / 1.145 GB, free: 158.7 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat does not exist to compare? outputFormat=mat