Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_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.008654/0.008654, allocations: 170.2 kB / 15.11 MB, free: 5.984 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.418/1.418, allocations: 223.2 MB / 239 MB, free: 1.809 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.000954/0.000954, allocations: 99.06 kB / 290.2 MB, free: 13.94 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.01286/0.01286, allocations: 1.552 MB / 342.9 MB, free: 9.266 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7383/0.7383, allocations: 90.32 MB / 484.7 MB, free: 21.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004874, allocations: 14.16 kB / 0.5526 GB, free: 30.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1576, allocations: 69.37 MB / 0.6204 GB, free: 5.551 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.4, allocations: 436.5 MB / 1.047 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.4, allocations: 79.16 kB / 1.047 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.14/1.541, allocations: 71.68 MB / 1.117 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/1.541, allocations: 0 / 1.117 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.99e-05/1.541, allocations: 8 kB / 1.117 GB, free: 42.29 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001104/1.542, allocations: 0.6608 MB / 1.117 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.542, allocations: 11.98 kB / 1.117 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/1.542, allocations: 54.55 kB / 1.117 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.088e-05/1.542, allocations: 31.62 kB / 1.118 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/1.542, allocations: 273.4 kB / 1.118 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/1.542, allocations: 20.44 kB / 1.118 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/1.542, allocations: 16 kB / 1.118 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/1.543, allocations: 239.2 kB / 1.118 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.543, allocations: 3.953 kB / 1.118 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/1.543, allocations: 8 kB / 1.118 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.543, allocations: 8 kB / 1.118 GB, free: 40.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/1.543, allocations: 229.6 kB / 1.118 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/1.544, allocations: 1.038 MB / 1.119 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/1.545, allocations: 270.4 kB / 1.12 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007262/1.546, allocations: 0.845 MB / 1.12 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/1.546, allocations: 175.6 kB / 1.121 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 2.155e-06/1.546, allocations: 3.938 kB / 1.121 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001119/1.547, allocations: 0.5728 MB / 1.121 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/1.547, allocations: 55.41 kB / 1.121 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/1.547, allocations: 208.1 kB / 1.121 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/1.547, allocations: 29.7 kB / 1.121 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/1.547, allocations: 152.3 kB / 1.122 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/1.547, allocations: 86.84 kB / 1.122 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/1.547, allocations: 0 / 1.122 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/1.548, allocations: 338.8 kB / 1.122 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/1.548, allocations: 91.94 kB / 1.122 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/1.548, allocations: 126.8 kB / 1.122 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/1.548, allocations: 135.2 kB / 1.122 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.548, allocations: 0 / 1.122 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006223/1.549, allocations: 368.8 kB / 1.123 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/1.549, allocations: 29.7 kB / 1.123 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.549, allocations: 0 / 1.123 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/1.549, allocations: 40.83 kB / 1.123 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/1.549, allocations: 51.97 kB / 1.123 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000922/1.55, allocations: 1.429 MB / 1.124 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/1.55, allocations: 35.83 kB / 1.124 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/1.55, allocations: 8 kB / 1.124 GB, free: 34.1 MB / 0.6042 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.0001296/1.551, allocations: 141.8 kB / 1.124 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/1.551, allocations: 27.62 kB / 1.124 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007121/1.551, allocations: 362.7 kB / 1.125 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.551, allocations: 7.953 kB / 1.125 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/1.551, allocations: 7.938 kB / 1.125 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.551, allocations: 3.984 kB / 1.125 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/1.552, allocations: 0.773 MB / 1.125 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.552, allocations: 0 / 1.125 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/1.553, allocations: 43.92 kB / 1.125 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/1.553, allocations: 36.81 kB / 1.126 GB, free: 32.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/1.553, allocations: 11.98 kB / 1.126 GB, free: 32.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008447/1.554, allocations: 1.429 MB / 1.127 GB, free: 31.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.554, allocations: 0 / 1.127 GB, free: 31.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/1.555, allocations: 0.5493 MB / 1.127 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/1.555, allocations: 108.8 kB / 1.128 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/1.555, allocations: 0 / 1.128 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/1.555, allocations: 27.83 kB / 1.128 GB, free: 30.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/1.555, allocations: 27.95 kB / 1.128 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/1.555, allocations: 15.98 kB / 1.128 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001353/1.555, allocations: 164.5 kB / 1.128 GB, free: 30.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.555, allocations: 4.062 kB / 1.128 GB, free: 30.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005826/1.556, allocations: 131.9 kB / 1.128 GB, free: 29.98 MB / 0.6042 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.001576/1.557, allocations: 1.351 MB / 1.129 GB, free: 28.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007686/1.558, allocations: 464 kB / 1.13 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.558, allocations: 3.938 kB / 1.13 GB, free: 28.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000395/1.559, allocations: 288.4 kB / 1.13 GB, free: 27.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/1.559, allocations: 79.77 kB / 1.13 GB, free: 27.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/1.562, allocations: 2.027 MB / 1.132 GB, free: 25.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/1.562, allocations: 0.7679 MB / 1.133 GB, free: 24.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001793/1.562, allocations: 42.2 kB / 1.133 GB, free: 24.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/1.562, allocations: 91.39 kB / 1.133 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/1.562, allocations: 3.938 kB / 1.133 GB, free: 24.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/1.59, allocations: 9.889 MB / 1.143 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/1.59, allocations: 195.8 kB / 1.143 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/4.207, allocations: 0 / 1.143 GB, free: 14.77 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat does not exist to compare? outputFormat=mat