Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_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.001139/0.001139, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.679/1.679, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.001027/0.001027, allocations: 79.55 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8284/0.8284, allocations: 90.35 MB / 405 MB, free: 8.598 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.792e-05, allocations: 0 / 479.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4152, allocations: 66.25 MB / 0.5327 GB, free: 28.65 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.648, allocations: 438.2 MB / 0.9606 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/1.648, allocations: 82 kB / 0.9607 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1567/1.805, allocations: 73.72 MB / 1.033 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.213e-06/1.805, allocations: 3.938 kB / 1.033 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.067e-05/1.805, allocations: 11.98 kB / 1.033 GB, free: 116.4 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001716/1.807, allocations: 0.7311 MB / 1.033 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.807, allocations: 8.031 kB / 1.033 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/1.807, allocations: 74.53 kB / 1.033 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/1.807, allocations: 51.42 kB / 1.034 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/1.808, allocations: 310.2 kB / 1.034 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/1.808, allocations: 28.78 kB / 1.034 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-05/1.808, allocations: 32 kB / 1.034 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/1.809, allocations: 387.8 kB / 1.034 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.809, allocations: 7.938 kB / 1.034 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/1.809, allocations: 12 kB / 1.034 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/1.809, allocations: 12 kB / 1.034 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/1.809, allocations: 343 kB / 1.035 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/1.811, allocations: 1.865 MB / 1.036 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/1.812, allocations: 404.5 kB / 1.037 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/1.812, allocations: 185 kB / 1.037 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/1.814, allocations: 1.322 MB / 1.038 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/1.814, allocations: 225 kB / 1.039 GB, free: 110 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=41): time 2.554e-06/1.814, allocations: 0 / 1.039 GB, free: 110 MB / 0.5886 GB Notification: Performance of matching and sorting (n=41): time 0.0007639/1.815, allocations: 397.5 kB / 1.039 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/1.815, allocations: 63.39 kB / 1.039 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/1.815, allocations: 231.5 kB / 1.039 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/1.815, allocations: 41.7 kB / 1.039 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/1.815, allocations: 200.2 kB / 1.039 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.999e-05/1.815, allocations: 141.9 kB / 1.04 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/1.815, allocations: 4 kB / 1.04 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/1.815, allocations: 342.8 kB / 1.04 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/1.816, allocations: 128.9 kB / 1.04 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/1.816, allocations: 193.4 kB / 1.04 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/1.816, allocations: 166.9 kB / 1.04 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.816, allocations: 4 kB / 1.04 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007188/1.817, allocations: 485.4 kB / 1.041 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/1.817, allocations: 35.41 kB / 1.041 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.817, allocations: 4 kB / 1.041 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/1.817, allocations: 44.77 kB / 1.041 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/1.817, allocations: 75.89 kB / 1.041 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009649/1.818, allocations: 1.429 MB / 1.042 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/1.819, allocations: 43.73 kB / 1.042 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/1.819, allocations: 19.98 kB / 1.042 GB, free: 105.8 MB / 0.5886 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.0001091/1.819, allocations: 136.8 kB / 1.043 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/1.819, allocations: 31.62 kB / 1.043 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008669/1.82, allocations: 0.5088 MB / 1.043 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.82, allocations: 4 kB / 1.043 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.82, allocations: 7.953 kB / 1.043 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/1.82, allocations: 0 / 1.043 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/1.821, allocations: 1.046 MB / 1.044 GB, free: 104 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.821, allocations: 0 / 1.044 GB, free: 104 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/1.821, allocations: 71.89 kB / 1.044 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001448/1.822, allocations: 44.84 kB / 1.044 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/1.822, allocations: 16.03 kB / 1.044 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008495/1.823, allocations: 1.417 MB / 1.046 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.823, allocations: 4.062 kB / 1.046 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008833/1.823, allocations: 0.7242 MB / 1.046 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/1.824, allocations: 124.5 kB / 1.046 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/1.824, allocations: 8 kB / 1.046 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/1.824, allocations: 24.05 kB / 1.046 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.824, allocations: 39.94 kB / 1.047 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/1.824, allocations: 15.98 kB / 1.047 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001468/1.824, allocations: 187.1 kB / 1.047 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/1.824, allocations: 0 / 1.047 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006144/1.825, allocations: 183.7 kB / 1.047 GB, free: 100.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.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.00145/1.826, allocations: 1.573 MB / 1.048 GB, free: 99.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007461/1.827, allocations: 0.5289 MB / 1.049 GB, free: 98.78 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.827, allocations: 0 / 1.049 GB, free: 98.78 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/1.827, allocations: 314.5 kB / 1.049 GB, free: 98.46 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006076/1.828, allocations: 112.9 kB / 1.049 GB, free: 98.35 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/1.829, allocations: 0.6465 MB / 1.05 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/1.829, allocations: 0.8044 MB / 1.051 GB, free: 96.83 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002325/1.83, allocations: 71.02 kB / 1.051 GB, free: 96.76 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/1.83, allocations: 139.4 kB / 1.051 GB, free: 96.62 MB / 0.5886 GB Notification: Performance of SimCode: time 7.62e-07/1.83, allocations: 4 kB / 1.051 GB, free: 96.62 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/1.854, allocations: 12.97 MB / 1.064 GB, free: 83.77 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/1.854, allocations: 208.5 kB / 1.064 GB, free: 83.54 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/4.222, allocations: 0 / 1.064 GB, free: 83.54 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_FlowControl_Tests_CheckValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat does not exist to compare? outputFormat=mat