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.0012/0.001201, allocations: 168.8 kB / 12.72 MB, free: 2.586 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.41/1.41, allocations: 221.4 MB / 234.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009255/0.0009255, allocations: 99.7 kB / 285.6 MB, free: 12.94 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.01026/0.01025, allocations: 1.55 MB / 338 MB, free: 8.434 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5961/0.5961, allocations: 90.04 MB / 479.4 MB, free: 2.934 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.934e-05/4.949e-05, allocations: 4 kB / 0.5446 GB, free: 7.836 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1666, allocations: 69.36 MB / 0.6123 GB, free: 2.391 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.339, allocations: 359.8 MB / 0.9636 GB, free: 57.01 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/1.339, allocations: 86.06 kB / 0.9637 GB, free: 56.96 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.9292/2.269, allocations: 273.1 MB / 1.23 GB, free: 69.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/2.269, allocations: 0 / 1.23 GB, free: 69.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002158/2.269, allocations: 43.98 kB / 1.23 GB, free: 69.25 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.006222/2.275, allocations: 1.993 MB / 1.232 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/2.275, allocations: 19.92 kB / 1.232 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007846/2.276, allocations: 190.5 kB / 1.233 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/2.277, allocations: 237.5 kB / 1.233 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/2.28, allocations: 0.9252 MB / 1.234 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/2.28, allocations: 103.3 kB / 1.234 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004627/2.281, allocations: 131.9 kB / 1.234 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/2.284, allocations: 1.308 MB / 1.235 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/2.284, allocations: 4 kB / 1.235 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/2.284, allocations: 48 kB / 1.235 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/2.284, allocations: 32 kB / 1.235 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/2.286, allocations: 1.51 MB / 1.237 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008373/2.295, allocations: 6.358 MB / 1.243 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/2.296, allocations: 1.453 MB / 1.244 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008977/2.297, allocations: 0.7008 MB / 1.245 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005554/2.303, allocations: 4.414 MB / 1.249 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/2.304, allocations: 0.6927 MB / 1.25 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=148): time 5.74e-06/2.304, allocations: 0 / 1.25 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.002945/2.307, allocations: 1.395 MB / 1.251 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/2.307, allocations: 76.7 kB / 1.252 GB, free: 46.32 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.002038/2.309, allocations: 1.09 MB / 1.253 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/2.309, allocations: 53.7 kB / 1.253 GB, free: 45.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005464/2.31, allocations: 0.626 MB / 1.253 GB, free: 44.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/2.31, allocations: 0.4928 MB / 1.254 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/2.31, allocations: 24 kB / 1.254 GB, free: 44.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/2.311, allocations: 353.9 kB / 1.254 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007893/2.311, allocations: 487.9 kB / 1.255 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008145/2.312, allocations: 0.6387 MB / 1.255 GB, free: 42.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008777/2.313, allocations: 0.5727 MB / 1.256 GB, free: 41.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/2.313, allocations: 0 / 1.256 GB, free: 41.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002887/2.316, allocations: 1.561 MB / 1.257 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/2.316, allocations: 34.14 kB / 1.257 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/2.316, allocations: 8 kB / 1.257 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004488/2.316, allocations: 105.6 kB / 1.257 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/2.318, allocations: 287.6 kB / 1.258 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/2.32, allocations: 2.995 MB / 1.261 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/2.322, allocations: 150.8 kB / 1.261 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/2.322, allocations: 59.97 kB / 1.261 GB, free: 36.43 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.0002967/2.322, allocations: 184.6 kB / 1.261 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/2.323, allocations: 158 kB / 1.261 GB, free: 36.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004173/2.327, allocations: 2 MB / 1.263 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/2.327, allocations: 20 kB / 1.263 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/2.327, allocations: 4 kB / 1.263 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/2.327, allocations: 7.969 kB / 1.263 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006708/2.333, allocations: 3.535 MB / 1.267 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/2.334, allocations: 0 / 1.267 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/2.335, allocations: 287.6 kB / 1.267 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000365/2.335, allocations: 109.5 kB / 1.267 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/2.335, allocations: 55.98 kB / 1.267 GB, free: 30.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/2.337, allocations: 3.003 MB / 1.27 GB, free: 26.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/2.337, allocations: 0 / 1.27 GB, free: 26.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003901/2.341, allocations: 2.456 MB / 1.272 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/2.342, allocations: 0.4984 MB / 1.273 GB, free: 23.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/2.343, allocations: 28 kB / 1.273 GB, free: 23.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/2.344, allocations: 91.84 kB / 1.273 GB, free: 23.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/2.344, allocations: 121.8 kB / 1.273 GB, free: 23.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/2.344, allocations: 59.95 kB / 1.273 GB, free: 23.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001435/2.346, allocations: 0.8534 MB / 1.274 GB, free: 22.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/2.346, allocations: 0 / 1.274 GB, free: 22.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00256/2.348, allocations: 0.6394 MB / 1.275 GB, free: 21.95 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.006049/2.354, allocations: 4.133 MB / 1.279 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002726/2.357, allocations: 1.647 MB / 1.28 GB, free: 16.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/2.357, allocations: 0 / 1.28 GB, free: 16.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001426/2.359, allocations: 1.016 MB / 1.281 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/2.361, allocations: 417.8 kB / 1.282 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007372/2.368, allocations: 2.719 MB / 1.284 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/2.37, allocations: 1.317 MB / 1.286 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001629/2.371, allocations: 349.9 kB / 1.286 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00097/2.372, allocations: 0.6633 MB / 1.287 GB, free: 9.594 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/2.372, allocations: 0 / 1.287 GB, free: 9.594 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5207/2.893, allocations: 45.17 MB / 1.331 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/2.893, allocations: 228.7 kB / 1.331 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.169/7.062, allocations: 0 / 1.331 GB, free: 107.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