Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve.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.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_CheckValve",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.009252/0.009252, allocations: 172 kB / 15.11 MB, free: 5.969 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.714/1.714, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001162/0.001162, allocations: 94.84 kB / 269.6 MB, free: 13.36 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.9814/0.9814, allocations: 90.6 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003732, allocations: 8 kB / 485.3 MB, free: 1.969 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4956, allocations: 66.27 MB / 0.5387 GB, free: 45.6 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8346/1.33, allocations: 436.4 MB / 0.9649 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/1.331, allocations: 82.2 kB / 0.9649 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5354/1.866, allocations: 70.26 MB / 1.034 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.357e-06/1.866, allocations: 0 / 1.034 GB, free: 189.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.272e-05/1.866, allocations: 4 kB / 1.034 GB, free: 189.2 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001423/1.868, allocations: 0.6654 MB / 1.034 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/1.868, allocations: 16.03 kB / 1.034 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.473e-05/1.868, allocations: 54.23 kB / 1.034 GB, free: 188.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/1.868, allocations: 35.62 kB / 1.034 GB, free: 188.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/1.868, allocations: 267 kB / 1.035 GB, free: 188.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/1.868, allocations: 16.44 kB / 1.035 GB, free: 188.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/1.868, allocations: 20.69 kB / 1.035 GB, free: 188.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/1.869, allocations: 243.2 kB / 1.035 GB, free: 187.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.869, allocations: 3.953 kB / 1.035 GB, free: 187.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/1.869, allocations: 8 kB / 1.035 GB, free: 187.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.869, allocations: 7.984 kB / 1.035 GB, free: 187.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/1.869, allocations: 229.6 kB / 1.035 GB, free: 187.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/1.87, allocations: 1.03 MB / 1.036 GB, free: 186.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/1.871, allocations: 271.8 kB / 1.036 GB, free: 186.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008543/1.872, allocations: 0.8531 MB / 1.037 GB, free: 185.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003595/1.872, allocations: 177.6 kB / 1.037 GB, free: 185 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/1.872, allocations: 0 / 1.037 GB, free: 185 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.001167/1.873, allocations: 0.5669 MB / 1.038 GB, free: 184.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/1.873, allocations: 51.41 kB / 1.038 GB, free: 184.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/1.874, allocations: 212.2 kB / 1.038 GB, free: 184.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/1.874, allocations: 25.7 kB / 1.038 GB, free: 184.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/1.874, allocations: 156.3 kB / 1.038 GB, free: 183.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/1.874, allocations: 86.75 kB / 1.038 GB, free: 183.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/1.874, allocations: 4 kB / 1.038 GB, free: 183.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/1.874, allocations: 338.8 kB / 1.039 GB, free: 183.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/1.874, allocations: 91.94 kB / 1.039 GB, free: 183.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/1.874, allocations: 131.2 kB / 1.039 GB, free: 183.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/1.875, allocations: 136.7 kB / 1.039 GB, free: 183.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.875, allocations: 4 kB / 1.039 GB, free: 183.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006671/1.875, allocations: 357.9 kB / 1.039 GB, free: 182.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/1.875, allocations: 33.7 kB / 1.039 GB, free: 182.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.875, allocations: 4.062 kB / 1.039 GB, free: 182.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/1.876, allocations: 44.77 kB / 1.039 GB, free: 182.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/1.876, allocations: 43.97 kB / 1.04 GB, free: 182.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/1.877, allocations: 1.419 MB / 1.041 GB, free: 181.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/1.877, allocations: 39.7 kB / 1.041 GB, free: 181.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/1.877, allocations: 15.98 kB / 1.041 GB, free: 181 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0001475/1.877, allocations: 149.6 kB / 1.041 GB, free: 180.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/1.877, allocations: 23.72 kB / 1.041 GB, free: 180.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007369/1.878, allocations: 360 kB / 1.041 GB, free: 180.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.878, allocations: 7.953 kB / 1.041 GB, free: 180.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.878, allocations: 0.875 kB / 1.041 GB, free: 180.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/1.878, allocations: 4.266 kB / 1.041 GB, free: 180.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/1.879, allocations: 0.7684 MB / 1.042 GB, free: 179.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.879, allocations: 3.938 kB / 1.042 GB, free: 179.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/1.88, allocations: 39.92 kB / 1.042 GB, free: 179.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/1.88, allocations: 40.81 kB / 1.042 GB, free: 179.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/1.88, allocations: 16.64 kB / 1.042 GB, free: 179.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008979/1.881, allocations: 1.425 MB / 1.044 GB, free: 178 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.881, allocations: 0 / 1.044 GB, free: 178 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/1.881, allocations: 0.5541 MB / 1.044 GB, free: 177.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/1.882, allocations: 104.8 kB / 1.044 GB, free: 177.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/1.882, allocations: 4 kB / 1.044 GB, free: 177.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/1.882, allocations: 19.98 kB / 1.044 GB, free: 177.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/1.882, allocations: 32.02 kB / 1.044 GB, free: 177.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/1.882, allocations: 7.984 kB / 1.044 GB, free: 177.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000135/1.882, allocations: 168.4 kB / 1.045 GB, free: 177.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/1.882, allocations: 0 / 1.045 GB, free: 177.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006028/1.883, allocations: 139.8 kB / 1.045 GB, free: 176.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (checkValve.inlet.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001591/1.884, allocations: 1.36 MB / 1.046 GB, free: 175.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007982/1.885, allocations: 455.8 kB / 1.046 GB, free: 175.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.885, allocations: 128 / 1.046 GB, free: 175.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004106/1.886, allocations: 301.2 kB / 1.047 GB, free: 174.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/1.886, allocations: 89.33 kB / 1.047 GB, free: 174.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/1.889, allocations: 2.007 MB / 1.049 GB, free: 172.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/1.889, allocations: 0.7718 MB / 1.05 GB, free: 171.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000171/1.889, allocations: 40.84 kB / 1.05 GB, free: 171.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/1.889, allocations: 91.39 kB / 1.05 GB, free: 171.7 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/1.889, allocations: 0 / 1.05 GB, free: 171.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/1.914, allocations: 9.882 MB / 1.059 GB, free: 162 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/1.914, allocations: 221.8 kB / 1.06 GB, free: 161.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/4.421, allocations: 0 / 1.06 GB, free: 161.8 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat does not exist to compare? outputFormat=mat