Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",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.007263/0.007263, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.526/1.526, allocations: 223.2 MB / 239 MB, free: 1.805 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.001194/0.001194, allocations: 96.75 kB / 290.2 MB, free: 13.95 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.01029/0.01029, allocations: 1.559 MB / 342.9 MB, free: 9.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8086/0.8086, allocations: 90.3 MB / 484.6 MB, free: 21.9 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004862, allocations: 18.72 kB / 0.5527 GB, free: 30.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1756, allocations: 69.36 MB / 0.6204 GB, free: 5.543 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.421, allocations: 356.2 MB / 0.9682 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/1.421, allocations: 82.66 kB / 0.9683 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9227/2.344, allocations: 240.2 MB / 1.203 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.346e-06/2.344, allocations: 7.547 kB / 1.203 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.064e-05/2.344, allocations: 34.7 kB / 1.203 GB, free: 129.4 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.003083/2.347, allocations: 1.718 MB / 1.205 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/2.347, allocations: 11.61 kB / 1.205 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/2.348, allocations: 130.2 kB / 1.205 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003762/2.348, allocations: 175.9 kB / 1.205 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/2.349, allocations: 0.735 MB / 1.206 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/2.349, allocations: 60.62 kB / 1.206 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/2.349, allocations: 88.58 kB / 1.206 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/2.351, allocations: 0.7764 MB / 1.207 GB, free: 128 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/2.351, allocations: 3.656 kB / 1.207 GB, free: 128 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/2.351, allocations: 33.94 kB / 1.207 GB, free: 128 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/2.351, allocations: 29.59 kB / 1.207 GB, free: 128 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/2.352, allocations: 0.8226 MB / 1.207 GB, free: 128 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/2.356, allocations: 3.579 MB / 1.211 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/2.357, allocations: 0.856 MB / 1.212 GB, free: 126 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002465/2.359, allocations: 2.521 MB / 1.214 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/2.359, allocations: 48.95 kB / 1.214 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=81): time 2.405e-06/2.359, allocations: 0 / 1.214 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.002412/2.362, allocations: 1.517 MB / 1.216 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/2.362, allocations: 60.16 kB / 1.216 GB, free: 123.6 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter slideValveInverse.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:21:3-22:88:writable] Warning: Parameter slideValveInverse.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:25:3-26:92:writable] Warning: Parameter slideValve.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter slideValve.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:21:3-22:88:writable] Warning: Parameter slideValve.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:14:3-16:44:writable] Warning: Parameter slideValve.d_valve has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/2.363, allocations: 1.016 MB / 1.217 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/2.363, allocations: 36.7 kB / 1.217 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/2.364, allocations: 0.5058 MB / 1.217 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/2.364, allocations: 276.5 kB / 1.218 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/2.364, allocations: 15.81 kB / 1.218 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.679e-05/2.364, allocations: 337.2 kB / 1.218 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/2.364, allocations: 273.3 kB / 1.218 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/2.365, allocations: 352.7 kB / 1.218 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/2.365, allocations: 315.7 kB / 1.219 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/2.365, allocations: 3.094 kB / 1.219 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001503/2.367, allocations: 0.9333 MB / 1.22 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/2.367, allocations: 3.938 kB / 1.22 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/2.367, allocations: 1.844 kB / 1.22 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003891/2.367, allocations: 105.4 kB / 1.22 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/2.368, allocations: 147.4 kB / 1.22 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/2.37, allocations: 3.013 MB / 1.223 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/2.371, allocations: 78.14 kB / 1.223 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/2.371, allocations: 34.09 kB / 1.223 GB, free: 120 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007095/2.371, allocations: 311 kB / 1.223 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/2.372, allocations: 119.7 kB / 1.223 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/2.374, allocations: 1.097 MB / 1.224 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/2.374, allocations: 7.094 kB / 1.224 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/2.374, allocations: 3.031 kB / 1.224 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/2.374, allocations: 6.969 kB / 1.225 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/2.377, allocations: 2.143 MB / 1.227 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/2.377, allocations: 0 / 1.227 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/2.377, allocations: 139.2 kB / 1.227 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/2.378, allocations: 104.3 kB / 1.227 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/2.378, allocations: 30.83 kB / 1.227 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/2.38, allocations: 3.011 MB / 1.23 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/2.38, allocations: 1.875 kB / 1.23 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/2.382, allocations: 1.461 MB / 1.231 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005865/2.382, allocations: 355.8 kB / 1.232 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/2.383, allocations: 18.09 kB / 1.232 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/2.383, allocations: 48.69 kB / 1.232 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/2.383, allocations: 60.06 kB / 1.232 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/2.383, allocations: 30.47 kB / 1.232 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009514/2.384, allocations: 0.7892 MB / 1.232 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/2.384, allocations: 3.938 kB / 1.232 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00133/2.386, allocations: 470.7 kB / 1.233 GB, free: 116.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.inlet.m_flow,slideValveInverse.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003918/2.389, allocations: 3.076 MB / 1.236 GB, free: 115 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001617/2.391, allocations: 1.049 MB / 1.237 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/2.391, allocations: 0 / 1.237 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008374/2.392, allocations: 0.7184 MB / 1.238 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/2.393, allocations: 306 kB / 1.238 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/2.398, allocations: 4.026 MB / 1.242 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/2.398, allocations: 1.152 MB / 1.243 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007118/2.399, allocations: 199.2 kB / 1.243 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/2.4, allocations: 451.1 kB / 1.244 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/2.4, allocations: 0 / 1.244 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05313/2.453, allocations: 32.67 MB / 1.276 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/2.453, allocations: 260.5 kB / 1.276 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.527/5.98, allocations: 0 / 1.276 GB, free: 106.3 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat does not exist to compare? outputFormat=mat