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.01354/0.01354, allocations: 172.3 kB / 15.12 MB, free: 5.973 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.885/1.885, 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.001025/0.001025, allocations: 86.86 kB / 269.6 MB, free: 13.35 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.8858/0.8858, allocations: 90.6 MB / 408.5 MB, free: 14.97 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 12 kB / 485.3 MB, free: 1.977 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4816, allocations: 66.27 MB / 0.5387 GB, free: 45.62 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8254/1.307, allocations: 438.2 MB / 0.9666 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/1.307, allocations: 84.52 kB / 0.9667 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5172/1.825, allocations: 74 MB / 1.039 GB, free: 183.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.777e-06/1.825, allocations: 0 / 1.039 GB, free: 183.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.86e-05/1.825, allocations: 12 kB / 1.039 GB, free: 183.7 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.00161/1.826, allocations: 0.774 MB / 1.04 GB, free: 182.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.826, allocations: 12.03 kB / 1.04 GB, free: 182.9 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.129e-05/1.826, allocations: 70.53 kB / 1.04 GB, free: 182.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/1.827, allocations: 43.53 kB / 1.04 GB, free: 182.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/1.827, allocations: 315.2 kB / 1.04 GB, free: 182.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/1.827, allocations: 25.52 kB / 1.04 GB, free: 182.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/1.827, allocations: 32 kB / 1.04 GB, free: 182.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/1.828, allocations: 424.9 kB / 1.041 GB, free: 181.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.828, allocations: 0 / 1.041 GB, free: 181.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/1.828, allocations: 15.95 kB / 1.041 GB, free: 181.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/1.828, allocations: 8 kB / 1.041 GB, free: 181.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006048/1.828, allocations: 382.4 kB / 1.041 GB, free: 181.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/1.83, allocations: 1.872 MB / 1.043 GB, free: 179.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/1.831, allocations: 444.2 kB / 1.043 GB, free: 179 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/1.833, allocations: 1.29 MB / 1.045 GB, free: 177.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/1.833, allocations: 241.3 kB / 1.045 GB, free: 177.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=41): time 2.314e-06/1.833, allocations: 3.938 kB / 1.045 GB, free: 177.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=41): time 0.001446/1.835, allocations: 0.857 MB / 1.046 GB, free: 176.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/1.835, allocations: 63.34 kB / 1.046 GB, free: 176.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/1.835, allocations: 234.2 kB / 1.046 GB, free: 176.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/1.835, allocations: 37.7 kB / 1.046 GB, free: 176.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/1.835, allocations: 188.3 kB / 1.046 GB, free: 175.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/1.835, allocations: 140.7 kB / 1.046 GB, free: 175.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/1.835, allocations: 8 kB / 1.046 GB, free: 175.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/1.835, allocations: 346.8 kB / 1.047 GB, free: 175.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/1.836, allocations: 152.8 kB / 1.047 GB, free: 175.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/1.836, allocations: 206.5 kB / 1.047 GB, free: 175 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/1.836, allocations: 199.2 kB / 1.047 GB, free: 174.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/1.836, allocations: 0 / 1.047 GB, free: 174.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009169/1.837, allocations: 0.5206 MB / 1.048 GB, free: 174.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/1.837, allocations: 33.7 kB / 1.048 GB, free: 174.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/1.837, allocations: 0 / 1.048 GB, free: 174.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/1.837, allocations: 48.92 kB / 1.048 GB, free: 174.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/1.838, allocations: 83.89 kB / 1.048 GB, free: 174.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/1.839, allocations: 1.434 MB / 1.049 GB, free: 172.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/1.839, allocations: 43.62 kB / 1.049 GB, free: 172.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/1.839, allocations: 19.98 kB / 1.049 GB, free: 172.5 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 () * Number of clocked 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.0001861/1.839, allocations: 153.8 kB / 1.049 GB, free: 172.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-05/1.839, allocations: 43.48 kB / 1.049 GB, free: 172.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/1.84, allocations: 0.5492 MB / 1.05 GB, free: 171.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/1.84, allocations: 8 kB / 1.05 GB, free: 171.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/1.84, allocations: 0 / 1.05 GB, free: 171.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.84, allocations: 3.984 kB / 1.05 GB, free: 171.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/1.842, allocations: 1.088 MB / 1.051 GB, free: 170.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.842, allocations: 0 / 1.051 GB, free: 170.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/1.842, allocations: 75.92 kB / 1.051 GB, free: 170.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/1.842, allocations: 44.75 kB / 1.051 GB, free: 170.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/1.842, allocations: 19.98 kB / 1.051 GB, free: 170.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008615/1.843, allocations: 1.437 MB / 1.053 GB, free: 168.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.843, allocations: 0 / 1.053 GB, free: 168.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/1.844, allocations: 0.7907 MB / 1.053 GB, free: 168 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.42e-05/1.845, allocations: 112.6 kB / 1.053 GB, free: 167.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/1.845, allocations: 12.06 kB / 1.053 GB, free: 167.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/1.845, allocations: 27.84 kB / 1.053 GB, free: 167.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.845, allocations: 39.94 kB / 1.054 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/1.845, allocations: 15.98 kB / 1.054 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001834/1.845, allocations: 194 kB / 1.054 GB, free: 167.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.41e-07/1.845, allocations: 3.938 kB / 1.054 GB, free: 167.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007112/1.846, allocations: 187.7 kB / 1.054 GB, free: 167.4 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) * Number of clocked states: 0 () * 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.001883/1.848, allocations: 1.636 MB / 1.056 GB, free: 165.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001009/1.849, allocations: 0.5635 MB / 1.056 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.849, allocations: 0 / 1.056 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004328/1.849, allocations: 346.4 kB / 1.056 GB, free: 164.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006128/1.85, allocations: 109.8 kB / 1.056 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/1.853, allocations: 3.052 MB / 1.059 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/1.854, allocations: 0.8158 MB / 1.06 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002785/1.854, allocations: 78.86 kB / 1.06 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/1.854, allocations: 139.3 kB / 1.06 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of SimCode: time 8.52e-07/1.854, allocations: 0 / 1.06 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/1.881, allocations: 12.64 MB / 1.073 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/1.881, allocations: 231.6 kB / 1.073 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/4.437, allocations: 0 / 1.073 GB, free: 147.9 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