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.001471/0.001471, allocations: 176.2 kB / 7.648 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.668/1.668, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.000869/0.0008694, allocations: 88.73 kB / 261.4 MB, free: 13.45 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.8364/0.8364, allocations: 90.36 MB / 399.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.524e-05/1.538e-05, allocations: 0 / 472.3 MB, free: 3.387 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4133, allocations: 66.25 MB / 0.5259 GB, free: 28.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.482, allocations: 435.7 MB / 0.9514 GB, free: 219.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/1.482, allocations: 79.95 kB / 0.9515 GB, free: 219.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1378/1.62, allocations: 69.63 MB / 1.019 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.324e-06/1.62, allocations: 4 kB / 1.019 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.43e-05/1.62, allocations: 4 kB / 1.019 GB, free: 149.3 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.001163/1.621, allocations: 0.633 MB / 1.02 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/1.621, allocations: 12.03 kB / 1.02 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/1.621, allocations: 31.62 kB / 1.02 GB, free: 148.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/1.622, allocations: 265.6 kB / 1.02 GB, free: 148.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/1.622, allocations: 8 kB / 1.02 GB, free: 148.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/1.622, allocations: 12 kB / 1.02 GB, free: 148.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000285/1.622, allocations: 184.7 kB / 1.021 GB, free: 148 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/1.622, allocations: 190.4 kB / 1.021 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/1.622, allocations: 0 / 1.021 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/1.622, allocations: 4 kB / 1.021 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.622, allocations: 4 kB / 1.021 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/1.624, allocations: 0.9903 MB / 1.022 GB, free: 146.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/1.624, allocations: 214.6 kB / 1.022 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/1.624, allocations: 100.8 kB / 1.022 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007599/1.625, allocations: 0.8488 MB / 1.023 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/1.625, allocations: 135.4 kB / 1.023 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/1.625, allocations: 4 kB / 1.023 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.0006166/1.626, allocations: 246.5 kB / 1.023 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/1.626, allocations: 59.41 kB / 1.023 GB, free: 145 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/1.626, allocations: 184.5 kB / 1.023 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/1.626, allocations: 29.7 kB / 1.024 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/1.626, allocations: 156.4 kB / 1.024 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/1.626, allocations: 82.7 kB / 1.024 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-05/1.626, allocations: 4 kB / 1.024 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.482e-05/1.626, allocations: 334.8 kB / 1.024 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/1.626, allocations: 75.97 kB / 1.024 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/1.626, allocations: 94.8 kB / 1.024 GB, free: 144 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/1.626, allocations: 76.94 kB / 1.024 GB, free: 143.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.627, allocations: 3.938 kB / 1.024 GB, free: 143.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005339/1.627, allocations: 279.3 kB / 1.025 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/1.627, allocations: 41.62 kB / 1.025 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.627, allocations: 0 / 1.025 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/1.627, allocations: 36.84 kB / 1.025 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/1.628, allocations: 43.91 kB / 1.025 GB, free: 143.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008377/1.628, allocations: 1.362 MB / 1.026 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/1.629, allocations: 23.78 kB / 1.026 GB, free: 142 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/1.629, allocations: 20.05 kB / 1.026 GB, free: 142 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 () * 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 8.401e-05/1.629, allocations: 112.9 kB / 1.026 GB, free: 141.9 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004705/1.629, allocations: 243.4 kB / 1.026 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/1.629, allocations: 31.66 kB / 1.026 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005725/1.63, allocations: 310.3 kB / 1.027 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.63, allocations: 4 kB / 1.027 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/1.63, allocations: 0 / 1.027 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.63, allocations: 0 / 1.027 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/1.631, allocations: 0.6644 MB / 1.027 GB, free: 140.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.631, allocations: 8.031 kB / 1.027 GB, free: 140.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/1.631, allocations: 39.91 kB / 1.027 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000127/1.631, allocations: 44.78 kB / 1.027 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/1.631, allocations: 7.984 kB / 1.027 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007337/1.632, allocations: 1.358 MB / 1.029 GB, free: 139 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.632, allocations: 7.969 kB / 1.029 GB, free: 139 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006265/1.632, allocations: 474.6 kB / 1.029 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/1.632, allocations: 108.7 kB / 1.029 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/1.633, allocations: 3.938 kB / 1.029 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/1.633, allocations: 11.98 kB / 1.029 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/1.633, allocations: 27.95 kB / 1.029 GB, free: 138.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/1.633, allocations: 16.05 kB / 1.029 GB, free: 138.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.27e-05/1.633, allocations: 148.5 kB / 1.03 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.633, allocations: 0 / 1.03 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004766/1.633, allocations: 131.7 kB / 1.03 GB, free: 138 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) * 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.00113/1.635, allocations: 1.296 MB / 1.031 GB, free: 136.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005291/1.635, allocations: 394.7 kB / 1.031 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.635, allocations: 0 / 1.031 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/1.635, allocations: 255.3 kB / 1.032 GB, free: 136 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/1.636, allocations: 69.64 kB / 1.032 GB, free: 136 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009834/1.637, allocations: 467.9 kB / 1.032 GB, free: 135.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/1.637, allocations: 0.7793 MB / 1.033 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001567/1.637, allocations: 34 kB / 1.033 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/1.637, allocations: 91.39 kB / 1.033 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of SimCode: time 2.31e-07/1.637, allocations: 0 / 1.033 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/1.665, allocations: 8.138 MB / 1.041 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/1.665, allocations: 156.2 kB / 1.041 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/3.705, allocations: 4 kB / 1.041 GB, free: 126.3 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