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.01141/0.01141, allocations: 171 kB / 15.11 MB, free: 5.969 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.635/1.635, 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.00115/0.00115, allocations: 98.89 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.01244/0.01244, allocations: 1.552 MB / 342.9 MB, free: 9.277 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7983/0.7983, allocations: 90.3 MB / 484.7 MB, free: 21.91 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004773, allocations: 13.31 kB / 0.5527 GB, free: 30.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1521, allocations: 69.37 MB / 0.6204 GB, free: 5.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.209, allocations: 359.8 MB / 0.9718 GB, free: 206.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.209, allocations: 92.52 kB / 0.9719 GB, free: 206.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.035/2.245, allocations: 274.1 MB / 1.24 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/2.245, allocations: 2.625 kB / 1.24 GB, free: 120.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001105/2.245, allocations: 48.77 kB / 1.24 GB, free: 120.3 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.004861/2.25, allocations: 2.188 MB / 1.242 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/2.25, allocations: 15.58 kB / 1.242 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003069/2.25, allocations: 193.8 kB / 1.242 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007234/2.251, allocations: 240.3 kB / 1.242 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/2.253, allocations: 0.9362 MB / 1.243 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/2.253, allocations: 95.75 kB / 1.243 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/2.253, allocations: 128.4 kB / 1.243 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/2.255, allocations: 1.368 MB / 1.245 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/2.255, allocations: 0 / 1.245 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/2.255, allocations: 50.91 kB / 1.245 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/2.255, allocations: 35 kB / 1.245 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/2.258, allocations: 1.605 MB / 1.246 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007656/2.265, allocations: 6.361 MB / 1.253 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/2.268, allocations: 1.531 MB / 1.254 GB, free: 115 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004796/2.272, allocations: 4.284 MB / 1.258 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/2.273, allocations: 0.7272 MB / 1.259 GB, free: 112 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=148): time 3.035e-06/2.273, allocations: 0 / 1.259 GB, free: 112 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.004124/2.278, allocations: 2.567 MB / 1.261 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/2.278, allocations: 74.08 kB / 1.261 GB, free: 110.6 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.001493/2.279, allocations: 1.104 MB / 1.263 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.69e-05/2.279, allocations: 50.95 kB / 1.263 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/2.28, allocations: 0.631 MB / 1.263 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/2.28, allocations: 0.4915 MB / 1.264 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/2.28, allocations: 23.91 kB / 1.264 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/2.28, allocations: 359.7 kB / 1.264 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008419/2.281, allocations: 0.5158 MB / 1.265 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009148/2.282, allocations: 0.6869 MB / 1.265 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/2.283, allocations: 0.6132 MB / 1.266 GB, free: 108 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/2.283, allocations: 3.516 kB / 1.266 GB, free: 108 MB / 0.6042 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002754/2.286, allocations: 1.651 MB / 1.267 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/2.286, allocations: 36.58 kB / 1.267 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/2.286, allocations: 3.594 kB / 1.267 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003879/2.286, allocations: 111.7 kB / 1.268 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/2.287, allocations: 285.7 kB / 1.268 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/2.289, allocations: 3.038 MB / 1.271 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/2.29, allocations: 153 kB / 1.271 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/2.291, allocations: 63.44 kB / 1.271 GB, free: 104.3 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 () * Number of clocked 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.0008297/2.291, allocations: 382.2 kB / 1.271 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/2.292, allocations: 148.8 kB / 1.272 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/2.295, allocations: 2.097 MB / 1.274 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/2.295, allocations: 27.56 kB / 1.274 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/2.295, allocations: 0 / 1.274 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/2.295, allocations: 7.688 kB / 1.274 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/2.301, allocations: 3.622 MB / 1.277 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/2.301, allocations: 0 / 1.277 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/2.302, allocations: 292.4 kB / 1.277 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003604/2.302, allocations: 104.8 kB / 1.278 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/2.302, allocations: 52.44 kB / 1.278 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/2.304, allocations: 3.032 MB / 1.281 GB, free: 98.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/2.305, allocations: 0 / 1.281 GB, free: 98.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/2.309, allocations: 2.603 MB / 1.283 GB, free: 97.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009672/2.31, allocations: 0.5024 MB / 1.284 GB, free: 97.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/2.31, allocations: 35.8 kB / 1.284 GB, free: 97.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/2.311, allocations: 83.06 kB / 1.284 GB, free: 97.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/2.311, allocations: 127.1 kB / 1.284 GB, free: 97.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/2.311, allocations: 63.95 kB / 1.284 GB, free: 97.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001375/2.313, allocations: 0.8555 MB / 1.285 GB, free: 96.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/2.313, allocations: 0 / 1.285 GB, free: 96.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002393/2.315, allocations: 0.6468 MB / 1.285 GB, free: 96.57 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) * Number of clocked states: 0 () * 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.006511/2.322, allocations: 4.323 MB / 1.29 GB, free: 94.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003111/2.325, allocations: 1.743 MB / 1.291 GB, free: 93.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/2.325, allocations: 2.781 kB / 1.291 GB, free: 93.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/2.326, allocations: 1.069 MB / 1.292 GB, free: 93.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/2.329, allocations: 415.2 kB / 1.293 GB, free: 93.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009451/2.338, allocations: 6.624 MB / 1.299 GB, free: 88.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/2.34, allocations: 1.324 MB / 1.3 GB, free: 87.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001546/2.341, allocations: 339.5 kB / 1.301 GB, free: 87.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009418/2.342, allocations: 0.6661 MB / 1.301 GB, free: 87.11 MB / 0.6042 GB Notification: Performance of SimCode: time 1.533e-06/2.342, allocations: 0 / 1.301 GB, free: 87.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08099/2.423, allocations: 43.68 MB / 1.344 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/2.423, allocations: 258.7 kB / 1.344 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.019/6.443, allocations: 0 / 1.344 GB, free: 54.44 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