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.001418/0.001418, allocations: 171.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008733/0.0008734, allocations: 84.55 kB / 261.4 MB, free: 13.46 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.712/0.712, allocations: 90.36 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.765e-05, allocations: 0 / 472.3 MB, free: 3.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3683, allocations: 66.25 MB / 0.5259 GB, free: 28.93 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.163/1.531, allocations: 437.5 MB / 0.9532 GB, free: 217.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/1.531, allocations: 79.95 kB / 0.9532 GB, free: 217.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1401/1.672, allocations: 73.35 MB / 1.025 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.083e-06/1.672, allocations: 0 / 1.025 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.616e-05/1.672, allocations: 8 kB / 1.025 GB, free: 143.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.001645/1.673, allocations: 0.7312 MB / 1.026 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.673, allocations: 8.031 kB / 1.026 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/1.674, allocations: 51.42 kB / 1.026 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/1.674, allocations: 314.2 kB / 1.026 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/1.674, allocations: 8 kB / 1.026 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/1.674, allocations: 23.94 kB / 1.026 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005126/1.675, allocations: 321.5 kB / 1.026 GB, free: 142.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/1.675, allocations: 358.2 kB / 1.027 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/1.675, allocations: 0 / 1.027 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/1.675, allocations: 0 / 1.027 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.675, allocations: 8 kB / 1.027 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/1.678, allocations: 1.8 MB / 1.028 GB, free: 139.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006003/1.678, allocations: 383.2 kB / 1.029 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/1.678, allocations: 165.2 kB / 1.029 GB, free: 139.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/1.68, allocations: 1.301 MB / 1.03 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/1.68, allocations: 213.2 kB / 1.03 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/1.68, allocations: 0 / 1.03 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=41): time 0.001081/1.681, allocations: 433.4 kB / 1.031 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/1.682, allocations: 59.41 kB / 1.031 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/1.682, allocations: 214.3 kB / 1.031 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/1.682, allocations: 29.7 kB / 1.031 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/1.682, allocations: 196.5 kB / 1.031 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.646e-05/1.682, allocations: 134 kB / 1.031 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/1.682, allocations: 0 / 1.031 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/1.682, allocations: 338.8 kB / 1.032 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/1.682, allocations: 120.9 kB / 1.032 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/1.682, allocations: 180.9 kB / 1.032 GB, free: 135.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005505/1.683, allocations: 189.1 kB / 1.032 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.683, allocations: 3.938 kB / 1.032 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009494/1.684, allocations: 479.5 kB / 1.033 GB, free: 135.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/1.684, allocations: 30.8 kB / 1.033 GB, free: 135.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.684, allocations: 4 kB / 1.033 GB, free: 135.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/1.684, allocations: 44.98 kB / 1.033 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/1.684, allocations: 75.89 kB / 1.033 GB, free: 135 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008448/1.685, allocations: 1.381 MB / 1.034 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/1.686, allocations: 35.67 kB / 1.034 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/1.686, allocations: 16 kB / 1.034 GB, free: 133.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 () * 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 9.613e-05/1.686, allocations: 116.9 kB / 1.034 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008691/1.687, allocations: 429.8 kB / 1.035 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/1.687, allocations: 35.62 kB / 1.035 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/1.688, allocations: 0.5246 MB / 1.035 GB, free: 132.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.688, allocations: 7.984 kB / 1.035 GB, free: 132.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.688, allocations: 4 kB / 1.035 GB, free: 132.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.688, allocations: 4 kB / 1.035 GB, free: 132.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/1.689, allocations: 1.008 MB / 1.036 GB, free: 131.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.689, allocations: 0 / 1.036 GB, free: 131.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/1.689, allocations: 75.92 kB / 1.036 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/1.69, allocations: 36.83 kB / 1.036 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/1.69, allocations: 11.98 kB / 1.036 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000767/1.69, allocations: 1.373 MB / 1.038 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.69, allocations: 7.891 kB / 1.038 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.692, allocations: 0.7399 MB / 1.038 GB, free: 128.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/1.692, allocations: 112.7 kB / 1.039 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/1.692, allocations: 4 kB / 1.039 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/1.692, allocations: 15.92 kB / 1.039 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-05/1.692, allocations: 44 kB / 1.039 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/1.692, allocations: 15.98 kB / 1.039 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00012/1.692, allocations: 166 kB / 1.039 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/1.692, allocations: 4 kB / 1.039 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005776/1.693, allocations: 167.7 kB / 1.039 GB, free: 128.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) * 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.00167/1.694, allocations: 1.58 MB / 1.041 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006821/1.695, allocations: 0.4974 MB / 1.041 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.695, allocations: 0 / 1.041 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003497/1.696, allocations: 314 kB / 1.041 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006141/1.696, allocations: 107.9 kB / 1.041 GB, free: 125.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/1.697, allocations: 0.598 MB / 1.042 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/1.698, allocations: 0.8112 MB / 1.043 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002322/1.698, allocations: 67.08 kB / 1.043 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/1.698, allocations: 131.4 kB / 1.043 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/1.698, allocations: 0 / 1.043 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/1.729, allocations: 10.72 MB / 1.053 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/1.729, allocations: 174.1 kB / 1.054 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/4.29, allocations: 0 / 1.054 GB, free: 113.3 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