Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.001181/0.001181, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.5 MB / 229.6 MB, free: 3.188 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.0009175/0.0009176, allocations: 93.91 kB / 280.5 MB, free: 1.148 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01048/0.01048, allocations: 1.565 MB / 332.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5723/0.5723, allocations: 90.07 MB / 474.1 MB, free: 7.062 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.783e-05/1.787e-05, allocations: 4 kB / 0.5376 GB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.163, allocations: 69.36 MB / 0.6053 GB, free: 8.363 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.318, allocations: 359.1 MB / 0.956 GB, free: 70.82 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.319, allocations: 90.19 kB / 0.9561 GB, free: 70.77 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.9179/2.237, allocations: 271.6 MB / 1.221 GB, free: 84.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.744e-06/2.237, allocations: 0 / 1.221 GB, free: 84.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000225/2.237, allocations: 51 kB / 1.221 GB, free: 84.66 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.006052/2.243, allocations: 1.985 MB / 1.223 GB, free: 82.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/2.243, allocations: 8.031 kB / 1.223 GB, free: 82.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/2.244, allocations: 237.5 kB / 1.224 GB, free: 82.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/2.247, allocations: 0.9232 MB / 1.224 GB, free: 81.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-05/2.247, allocations: 44.52 kB / 1.224 GB, free: 81.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/2.247, allocations: 83.89 kB / 1.225 GB, free: 81.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002522/2.25, allocations: 1.443 MB / 1.226 GB, free: 79.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/2.252, allocations: 1.127 MB / 1.227 GB, free: 78.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/2.252, allocations: 0 / 1.227 GB, free: 78.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-05/2.252, allocations: 4 kB / 1.227 GB, free: 78.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/2.252, allocations: 32 kB / 1.227 GB, free: 78.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007357/2.259, allocations: 6.132 MB / 1.233 GB, free: 71.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/2.261, allocations: 1.402 MB / 1.234 GB, free: 70.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007881/2.262, allocations: 0.6523 MB / 1.235 GB, free: 69.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005133/2.267, allocations: 4.361 MB / 1.239 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009046/2.268, allocations: 0.6471 MB / 1.24 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=148): time 3.517e-06/2.268, allocations: 7.938 kB / 1.24 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.004802/2.273, allocations: 1.617 MB / 1.242 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/2.273, allocations: 76.66 kB / 1.242 GB, free: 62.72 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/Undirected/FlowControl/SpecificValveType.mo:25:3-26: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/Undirected/FlowControl/SpecificValveType.mo:23:3-24: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/Undirected/FlowControl/SpecificValveType.mo:27:3-28: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/Undirected/FlowControl/SpecificValveType.mo:25:3-26: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/Undirected/FlowControl/SpecificValveType.mo:23:3-24: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/Undirected/FlowControl/SpecificValveType.mo:16:3-18: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.001818/2.275, allocations: 1.008 MB / 1.243 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.294e-05/2.275, allocations: 25.7 kB / 1.243 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005175/2.275, allocations: 0.6375 MB / 1.243 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000383/2.276, allocations: 476.7 kB / 1.244 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/2.276, allocations: 0 / 1.244 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001247/2.276, allocations: 357.9 kB / 1.244 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006391/2.276, allocations: 459.9 kB / 1.245 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/2.277, allocations: 0.6036 MB / 1.245 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/2.28, allocations: 0.818 MB / 1.246 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/2.28, allocations: 0 / 1.246 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00439/2.285, allocations: 1.726 MB / 1.248 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/2.285, allocations: 33.7 kB / 1.248 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/2.285, allocations: 8.391 kB / 1.248 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000394/2.285, allocations: 113.6 kB / 1.248 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/2.286, allocations: 291.6 kB / 1.248 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/2.288, allocations: 2.899 MB / 1.251 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/2.289, allocations: 118.9 kB / 1.251 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/2.289, allocations: 63.97 kB / 1.251 GB, free: 52.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (159): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0002303/2.29, allocations: 120.7 kB / 1.251 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004197/2.294, allocations: 1.637 MB / 1.253 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/2.294, allocations: 146.1 kB / 1.253 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004779/2.299, allocations: 2.087 MB / 1.255 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/2.299, allocations: 24 kB / 1.255 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/2.299, allocations: 7.938 kB / 1.255 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/2.299, allocations: 11.91 kB / 1.255 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006496/2.306, allocations: 3.461 MB / 1.258 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/2.306, allocations: 0 / 1.258 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009565/2.307, allocations: 287.6 kB / 1.259 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003215/2.307, allocations: 105.6 kB / 1.259 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/2.307, allocations: 31.97 kB / 1.259 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/2.309, allocations: 2.903 MB / 1.262 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.309, allocations: 0 / 1.262 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00467/2.314, allocations: 2.549 MB / 1.264 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008747/2.314, allocations: 0.4909 MB / 1.265 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/2.315, allocations: 7.953 kB / 1.265 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009906/2.316, allocations: 67.8 kB / 1.265 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/2.316, allocations: 125.8 kB / 1.265 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/2.316, allocations: 67.89 kB / 1.265 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001108/2.317, allocations: 0.7651 MB / 1.266 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.6e-07/2.317, allocations: 0 / 1.266 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001997/2.319, allocations: 0.5925 MB / 1.266 GB, free: 37.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.rear.m_flow,slideValveInverse.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 (162): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.006467/2.326, allocations: 4.214 MB / 1.27 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002123/2.328, allocations: 1.552 MB / 1.272 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/2.328, allocations: 4 kB / 1.272 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/2.329, allocations: 0.9637 MB / 1.273 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/2.331, allocations: 374.9 kB / 1.273 GB, free: 29.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/2.336, allocations: 2.584 MB / 1.276 GB, free: 27.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008121/2.337, allocations: 1.317 MB / 1.277 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001264/2.339, allocations: 333.7 kB / 1.277 GB, free: 25.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008257/2.339, allocations: 0.6593 MB / 1.278 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of SimCode: time 1.302e-06/2.339, allocations: 0 / 1.278 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4703/2.81, allocations: 38.87 MB / 1.316 GB, free: 119 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/2.81, allocations: 194.4 kB / 1.316 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.512/6.322, allocations: 0 / 1.316 GB, free: 118.8 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat does not exist to compare? outputFormat=mat