Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",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.001077/0.001076, allocations: 172.5 kB / 7.646 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.361/1.361, allocations: 221.5 MB / 229.6 MB, free: 3.125 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.001055/0.001055, allocations: 94.31 kB / 280.5 MB, free: 1.145 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.01111/0.01111, allocations: 1.572 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.5416/0.5416, allocations: 90.06 MB / 474 MB, free: 7.066 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.034e-05/2.029e-05, allocations: 4 kB / 0.5376 GB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1556, allocations: 69.37 MB / 0.6053 GB, free: 8.359 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/1.304, allocations: 437.1 MB / 1.032 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.305, allocations: 77.95 kB / 1.032 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.768/2.073, allocations: 207.5 MB / 1.235 GB, free: 77.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/2.073, allocations: 0 / 1.235 GB, free: 77.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001021/2.073, allocations: 24 kB / 1.235 GB, free: 77.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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00315/2.076, allocations: 1.138 MB / 1.236 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/2.076, allocations: 8.031 kB / 1.236 GB, free: 76.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005047/2.077, allocations: 98.88 kB / 1.236 GB, free: 75.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/2.078, allocations: 0.5023 MB / 1.237 GB, free: 75.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/2.078, allocations: 24 kB / 1.237 GB, free: 75.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/2.078, allocations: 47.98 kB / 1.237 GB, free: 75.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001043/2.079, allocations: 0.555 MB / 1.237 GB, free: 74.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009425/2.08, allocations: 0.5394 MB / 1.238 GB, free: 74.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/2.08, allocations: 0 / 1.238 GB, free: 74.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/2.08, allocations: 0 / 1.238 GB, free: 74.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/2.08, allocations: 24 kB / 1.238 GB, free: 74.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/2.083, allocations: 3.045 MB / 1.241 GB, free: 70.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/2.084, allocations: 0.6615 MB / 1.241 GB, free: 70.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/2.084, allocations: 266.4 kB / 1.242 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005352/2.085, allocations: 0.9861 MB / 1.243 GB, free: 68.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/2.085, allocations: 47.06 kB / 1.243 GB, free: 68.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 2.284e-06/2.085, allocations: 0 / 1.243 GB, free: 68.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.00311/2.088, allocations: 1.381 MB / 1.244 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/2.088, allocations: 59.97 kB / 1.244 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/2.088, allocations: 337.3 kB / 1.244 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/2.089, allocations: 25.7 kB / 1.244 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/2.089, allocations: 340.3 kB / 1.245 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/2.089, allocations: 201 kB / 1.245 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/2.089, allocations: 0 / 1.245 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001033/2.089, allocations: 366.7 kB / 1.245 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/2.089, allocations: 185.1 kB / 1.245 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/2.089, allocations: 187.9 kB / 1.246 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/2.09, allocations: 214.1 kB / 1.246 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/2.09, allocations: 0 / 1.246 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001163/2.091, allocations: 0.6239 MB / 1.246 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/2.091, allocations: 4 kB / 1.246 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/2.091, allocations: 4 kB / 1.246 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/2.092, allocations: 108.8 kB / 1.246 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/2.092, allocations: 99.81 kB / 1.247 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/2.094, allocations: 1.901 MB / 1.248 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/2.094, allocations: 35.89 kB / 1.248 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/2.094, allocations: 23.92 kB / 1.249 GB, free: 62.35 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/2.094, allocations: 118 kB / 1.249 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001172/2.095, allocations: 0.6084 MB / 1.249 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/2.095, allocations: 67.19 kB / 1.249 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/2.097, allocations: 0.7713 MB / 1.25 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/2.097, allocations: 8 kB / 1.25 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/2.097, allocations: 0 / 1.25 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/2.097, allocations: 11.97 kB / 1.25 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/2.099, allocations: 1.493 MB / 1.252 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/2.099, allocations: 0 / 1.252 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/2.099, allocations: 111.8 kB / 1.252 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/2.1, allocations: 104.8 kB / 1.252 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/2.1, allocations: 19.94 kB / 1.252 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/2.101, allocations: 1.908 MB / 1.254 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/2.101, allocations: 4.031 kB / 1.254 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/2.103, allocations: 1.061 MB / 1.255 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-05/2.103, allocations: 136.3 kB / 1.255 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/2.103, allocations: 8.047 kB / 1.255 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/2.103, allocations: 31.97 kB / 1.255 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/2.104, allocations: 52.48 kB / 1.255 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/2.104, allocations: 23.98 kB / 1.255 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002231/2.104, allocations: 263 kB / 1.255 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/2.104, allocations: 0 / 1.255 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001044/2.105, allocations: 351.7 kB / 1.255 GB, free: 54.99 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (splitterT2_1.splitterN.inlet.m_flow,splitterT2_1.splitterN.outlets[1].m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002778/2.108, allocations: 2.37 MB / 1.258 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009873/2.109, allocations: 0.692 MB / 1.258 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/2.109, allocations: 0 / 1.258 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005663/2.109, allocations: 497.2 kB / 1.259 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000833/2.11, allocations: 170.4 kB / 1.259 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/2.112, allocations: 1.145 MB / 1.26 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/2.112, allocations: 0.9611 MB / 1.261 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003823/2.113, allocations: 104.3 kB / 1.261 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/2.113, allocations: 287.3 kB / 1.262 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of SimCode: time 1.243e-06/2.113, allocations: 0 / 1.262 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04484/2.158, allocations: 20.86 MB / 1.282 GB, free: 27.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/2.158, allocations: 134.2 kB / 1.282 GB, free: 27.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/4.891, allocations: 10.28 kB / 1.282 GB, free: 27.68 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat does not exist to compare? outputFormat=mat