Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.001679/0.001679, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.518/1.518, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0009868/0.0009866, allocations: 84.98 kB / 285.6 MB, free: 12.98 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.01219/0.01219, allocations: 1.554 MB / 338 MB, free: 8.465 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5796/0.5796, allocations: 90.05 MB / 479.4 MB, free: 2.953 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.816e-05/4.837e-05, allocations: 4 kB / 0.5446 GB, free: 7.871 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1738, allocations: 69.36 MB / 0.6123 GB, free: 2.422 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.423, allocations: 442 MB / 1.044 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/1.424, allocations: 92.56 kB / 1.044 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9106/2.334, allocations: 252.8 MB / 1.291 GB, free: 8.129 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/2.334, allocations: 0 / 1.291 GB, free: 8.129 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000128/2.334, allocations: 36.17 kB / 1.291 GB, free: 8.094 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.005171/2.34, allocations: 1.673 MB / 1.293 GB, free: 6.363 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/2.34, allocations: 19.92 kB / 1.293 GB, free: 6.344 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006158/2.34, allocations: 189.5 kB / 1.293 GB, free: 6.148 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007756/2.341, allocations: 150.2 kB / 1.293 GB, free: 6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/2.343, allocations: 0.7359 MB / 1.294 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.337e-05/2.343, allocations: 90.41 kB / 1.294 GB, free: 5.133 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/2.343, allocations: 127.9 kB / 1.294 GB, free: 5.008 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/2.346, allocations: 1.356 MB / 1.295 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.453e-05/2.346, allocations: 0 / 1.295 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/2.346, allocations: 52 kB / 1.295 GB, free: 3.574 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.369e-05/2.346, allocations: 35.94 kB / 1.295 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/2.349, allocations: 1.622 MB / 1.297 GB, free: 1.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.477/2.826, allocations: 6.397 MB / 1.303 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/2.829, allocations: 1.459 MB / 1.305 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/2.83, allocations: 0.7266 MB / 1.305 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005916/2.836, allocations: 3.657 MB / 1.309 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/2.837, allocations: 0.7631 MB / 1.31 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 5.039e-06/2.837, allocations: 0 / 1.31 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.006958/2.844, allocations: 3.313 MB / 1.313 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/2.844, allocations: 67.92 kB / 1.313 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006452/2.845, allocations: 470.8 kB / 1.313 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.417e-05/2.845, allocations: 50.2 kB / 1.313 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/2.846, allocations: 457.1 kB / 1.314 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/2.846, allocations: 467.5 kB / 1.314 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/2.846, allocations: 23.97 kB / 1.314 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001679/2.846, allocations: 405.9 kB / 1.315 GB, free: 103 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009471/2.847, allocations: 0.5421 MB / 1.315 GB, free: 103 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009854/2.848, allocations: 0.6402 MB / 1.316 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/2.849, allocations: 0.6415 MB / 1.316 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/2.849, allocations: 1 kB / 1.316 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003353/2.853, allocations: 1.641 MB / 1.318 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/2.853, allocations: 32.42 kB / 1.318 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/2.853, allocations: 1.125 kB / 1.318 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/2.853, allocations: 167 kB / 1.318 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/2.854, allocations: 249.4 kB / 1.318 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003734/2.858, allocations: 2.644 MB / 1.321 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/2.859, allocations: 97.86 kB / 1.321 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/2.859, allocations: 50.45 kB / 1.321 GB, free: 101.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 3 * 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 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002498/2.86, allocations: 163.2 kB / 1.321 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/2.86, allocations: 107.4 kB / 1.321 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/2.864, allocations: 2.173 MB / 1.324 GB, free: 101 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/2.864, allocations: 16.78 kB / 1.324 GB, free: 101 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/2.864, allocations: 2.5 kB / 1.324 GB, free: 101 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/2.864, allocations: 11.17 kB / 1.324 GB, free: 101 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006686/2.871, allocations: 3.647 MB / 1.327 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/2.871, allocations: 0.6562 kB / 1.327 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/2.872, allocations: 290.5 kB / 1.327 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005095/2.872, allocations: 147.6 kB / 1.328 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/2.873, allocations: 61.92 kB / 1.328 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002696/2.875, allocations: 2.339 MB / 1.33 GB, free: 99.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/2.875, allocations: 5.312 kB / 1.33 GB, free: 99.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005126/2.88, allocations: 2.742 MB / 1.333 GB, free: 99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/2.881, allocations: 177.1 kB / 1.333 GB, free: 98.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/2.881, allocations: 33.95 kB / 1.333 GB, free: 98.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000765/2.882, allocations: 101.2 kB / 1.333 GB, free: 98.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/2.882, allocations: 120.2 kB / 1.333 GB, free: 98.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/2.882, allocations: 55.61 kB / 1.333 GB, free: 98.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005521/2.883, allocations: 372.5 kB / 1.333 GB, free: 98.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/2.883, allocations: 0 / 1.333 GB, free: 98.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002423/2.885, allocations: 0.5729 MB / 1.334 GB, free: 98.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (junctionRFF2_1.junctionMN.rears[1].m_flow,junctionRFF2_1.junctionMN.fores[1].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 (154): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006793/2.892, allocations: 4.177 MB / 1.338 GB, free: 97.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002872/2.895, allocations: 1.735 MB / 1.34 GB, free: 97.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/2.895, allocations: 0 / 1.34 GB, free: 97.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/2.897, allocations: 1.046 MB / 1.341 GB, free: 97.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/2.898, allocations: 316.3 kB / 1.341 GB, free: 97.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/2.903, allocations: 2.235 MB / 1.343 GB, free: 96.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007672/2.904, allocations: 1.171 MB / 1.344 GB, free: 96.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001103/2.905, allocations: 321.7 kB / 1.345 GB, free: 96.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/2.906, allocations: 0.5127 MB / 1.345 GB, free: 96.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.575e-06/2.906, allocations: 3.75 kB / 1.345 GB, free: 96.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0725/2.978, allocations: 39.97 MB / 1.384 GB, free: 94.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/2.978, allocations: 184.3 kB / 1.384 GB, free: 94.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.893/6.872, allocations: 0 / 1.384 GB, free: 94.59 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat does not exist to compare? outputFormat=mat