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.01036/0.01036, allocations: 171.1 kB / 15.11 MB, free: 5.973 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.59/1.59, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009863/0.0009856, allocations: 102.1 kB / 290.2 MB, free: 4.5 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.01298/0.01298, allocations: 1.551 MB / 342.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8666/0.8666, allocations: 90.3 MB / 484.6 MB, free: 39.89 MB / 346.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0007591/0.0007591, allocations: 20 kB / 0.5527 GB, free: 6.473 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4175, allocations: 69.35 MB / 0.6204 GB, free: 20.8 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.693, allocations: 442.1 MB / 1.052 GB, free: 164.2 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.693, allocations: 93.34 kB / 1.052 GB, free: 164.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.9317/2.625, allocations: 253.7 MB / 1.3 GB, free: 156.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.394e-06/2.625, allocations: 0 / 1.3 GB, free: 156.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.555e-05/2.625, allocations: 42.69 kB / 1.3 GB, free: 156.3 MB / 0.6198 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.004234/2.629, allocations: 1.783 MB / 1.302 GB, free: 155.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/2.629, allocations: 11.33 kB / 1.302 GB, free: 155.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002657/2.629, allocations: 178 kB / 1.302 GB, free: 155.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003704/2.63, allocations: 163.9 kB / 1.302 GB, free: 155.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/2.631, allocations: 0.7351 MB / 1.303 GB, free: 155 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/2.631, allocations: 88.12 kB / 1.303 GB, free: 155 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/2.631, allocations: 120 kB / 1.303 GB, free: 155 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/2.634, allocations: 1.423 MB / 1.304 GB, free: 154.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/2.634, allocations: 0 / 1.304 GB, free: 154.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/2.634, allocations: 45.17 kB / 1.304 GB, free: 154.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/2.634, allocations: 36.31 kB / 1.304 GB, free: 154.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/2.636, allocations: 1.721 MB / 1.306 GB, free: 154.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006122/2.642, allocations: 6.42 MB / 1.312 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/2.645, allocations: 1.517 MB / 1.314 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00425/2.649, allocations: 3.61 MB / 1.317 GB, free: 149.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/2.65, allocations: 0.8193 MB / 1.318 GB, free: 149 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=136): time 3.377e-06/2.65, allocations: 0 / 1.318 GB, free: 149 MB / 0.6198 GB Notification: Performance of matching and sorting (n=137): time 0.0073/2.657, allocations: 4.553 MB / 1.323 GB, free: 146.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/2.657, allocations: 66.22 kB / 1.323 GB, free: 146.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/2.658, allocations: 473.5 kB / 1.323 GB, free: 146.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.564e-05/2.658, allocations: 49.14 kB / 1.323 GB, free: 146.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/2.658, allocations: 456.8 kB / 1.324 GB, free: 145.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/2.659, allocations: 467.2 kB / 1.324 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/2.659, allocations: 23.84 kB / 1.324 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000156/2.659, allocations: 399.6 kB / 1.325 GB, free: 145.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000955/2.66, allocations: 0.5918 MB / 1.325 GB, free: 145 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/2.661, allocations: 0.6842 MB / 1.326 GB, free: 144.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/2.662, allocations: 0.6852 MB / 1.326 GB, free: 144.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/2.662, allocations: 0 / 1.326 GB, free: 144.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002913/2.665, allocations: 1.744 MB / 1.328 GB, free: 143.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/2.665, allocations: 29.23 kB / 1.328 GB, free: 143.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/2.665, allocations: 6.5 kB / 1.328 GB, free: 143.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/2.666, allocations: 167.1 kB / 1.328 GB, free: 143.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/2.667, allocations: 248.7 kB / 1.329 GB, free: 143.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003802/2.67, allocations: 2.683 MB / 1.331 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009648/2.671, allocations: 98.89 kB / 1.331 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/2.672, allocations: 50.59 kB / 1.331 GB, free: 141.6 MB / 0.6198 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 () * Number of clocked 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.0005914/2.672, allocations: 283.6 kB / 1.332 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/2.672, allocations: 111.1 kB / 1.332 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/2.676, allocations: 2.26 MB / 1.334 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/2.676, allocations: 30.81 kB / 1.334 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/2.676, allocations: 0 / 1.334 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/2.676, allocations: 8.859 kB / 1.334 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006091/2.682, allocations: 3.754 MB / 1.338 GB, free: 138.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/2.682, allocations: 0 / 1.338 GB, free: 138.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/2.684, allocations: 286.1 kB / 1.338 GB, free: 138.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005135/2.684, allocations: 148.9 kB / 1.338 GB, free: 138.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/2.684, allocations: 56.36 kB / 1.338 GB, free: 138.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/2.687, allocations: 2.398 MB / 1.34 GB, free: 136.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/2.687, allocations: 0 / 1.34 GB, free: 136.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004337/2.691, allocations: 2.888 MB / 1.343 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/2.691, allocations: 179 kB / 1.343 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/2.691, allocations: 39.58 kB / 1.343 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/2.692, allocations: 100.8 kB / 1.344 GB, free: 134 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/2.692, allocations: 121 kB / 1.344 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/2.693, allocations: 55.97 kB / 1.344 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004069/2.693, allocations: 379.1 kB / 1.344 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/2.693, allocations: 0 / 1.344 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0017/2.695, allocations: 0.5689 MB / 1.345 GB, free: 132.9 MB / 0.6198 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) * Number of clocked states: 0 () * 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.005437/2.7, allocations: 4.326 MB / 1.349 GB, free: 128.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002698/2.703, allocations: 1.836 MB / 1.351 GB, free: 126.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/2.703, allocations: 4 kB / 1.351 GB, free: 126.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/2.704, allocations: 1.098 MB / 1.352 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/2.706, allocations: 300.2 kB / 1.352 GB, free: 125.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/2.716, allocations: 8.029 MB / 1.36 GB, free: 117.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/2.716, allocations: 1.169 MB / 1.361 GB, free: 116.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001094/2.718, allocations: 321.8 kB / 1.361 GB, free: 115.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006842/2.718, allocations: 0.5149 MB / 1.362 GB, free: 115.4 MB / 0.6198 GB Notification: Performance of SimCode: time 8.626e-06/2.718, allocations: 0 / 1.362 GB, free: 115.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05887/2.777, allocations: 38.77 MB / 1.4 GB, free: 77.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/2.777, allocations: 213 kB / 1.4 GB, free: 77.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.505/6.283, allocations: 4 kB / 1.4 GB, free: 77.27 MB / 0.6198 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