Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.conf.json 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/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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6564/0.6564, allocations: 89.65 MB / 380.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 8.375 kB / 460.1 MB, free: 24.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 68.83 MB / 0.5166 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01631/0.1589, allocations: 15.95 MB / 0.5321 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006992/0.1659, allocations: 6.252 MB / 0.5383 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005685/0.1666, allocations: 11.94 kB / 0.5383 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006842/0.1672, allocations: 226.6 kB / 0.5385 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.1685, allocations: 453.1 kB / 0.5389 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007366/0.1693, allocations: 274.3 kB / 0.5392 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007805/0.1701, allocations: 0.7348 MB / 0.5399 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.1703, allocations: 117.6 kB / 0.54 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/0.1707, allocations: 250.9 kB / 0.5402 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.171, allocations: 246.8 kB / 0.5405 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.1711, allocations: 20 kB / 0.5405 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000808/0.1719, allocations: 263.8 kB / 0.5407 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.172, allocations: 79.55 kB / 0.5408 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.1721, allocations: 117.5 kB / 0.5409 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006355/0.1728, allocations: 0.5029 MB / 0.5414 GB, free: 2.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1728, allocations: 0 / 0.5414 GB, free: 2.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1728, allocations: 0 / 0.5414 GB, free: 2.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1728, allocations: 0 / 0.5414 GB, free: 2.102 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00133/0.1742, allocations: 0.7947 MB / 0.5422 GB, free: 1.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1742, allocations: 8.031 kB / 0.5422 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.31e-05/0.1743, allocations: 82.53 kB / 0.5423 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.1745, allocations: 67.25 kB / 0.5424 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.175, allocations: 373 kB / 0.5427 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.1751, allocations: 29 kB / 0.5427 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.1751, allocations: 36 kB / 0.5428 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007122/0.1759, allocations: 455.9 kB / 0.5432 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1759, allocations: 3.953 kB / 0.5432 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.1759, allocations: 19.94 kB / 0.5432 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.176, allocations: 12 kB / 0.5432 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/0.1766, allocations: 415.7 kB / 0.5436 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.1791, allocations: 2.041 MB / 0.5456 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.1798, allocations: 409.8 kB / 0.546 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.1801, allocations: 177.7 kB / 0.5462 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001527/0.1816, allocations: 1.404 MB / 0.5476 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1817, allocations: 46.84 kB / 0.5476 GB, free: 11.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 2.244e-06/0.1817, allocations: 0 / 0.5476 GB, free: 11.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.005311/0.187, allocations: 1.452 MB / 0.549 GB, free: 9.758 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.1871, allocations: 89 kB / 0.5491 GB, free: 9.652 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.1875, allocations: 381.6 kB / 0.5495 GB, free: 9.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1876, allocations: 29.7 kB / 0.5495 GB, free: 9.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1878, allocations: 256.3 kB / 0.5497 GB, free: 8.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1879, allocations: 134 kB / 0.5499 GB, free: 8.848 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.1879, allocations: 8 kB / 0.5499 GB, free: 8.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1881, allocations: 350.8 kB / 0.5502 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.1883, allocations: 128.8 kB / 0.5503 GB, free: 8.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.1886, allocations: 185.8 kB / 0.5505 GB, free: 8.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.1889, allocations: 149.5 kB / 0.5507 GB, free: 8.016 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1889, allocations: 0 / 0.5507 GB, free: 8.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002514/0.1914, allocations: 0.7882 MB / 0.5514 GB, free: 7.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.1914, allocations: 4 kB / 0.5514 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1914, allocations: 4 kB / 0.5514 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00242/0.1939, allocations: 0.4894 MB / 0.5519 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.1941, allocations: 63.91 kB / 0.552 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.1959, allocations: 2.09 MB / 0.554 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.1963, allocations: 39.8 kB / 0.5541 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.1963, allocations: 20 kB / 0.5541 GB, free: 4.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002372/0.1965, allocations: 159.3 kB / 0.5542 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.1967, allocations: 47.44 kB / 0.5543 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.1994, allocations: 0.8578 MB / 0.5551 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1994, allocations: 8 kB / 0.5551 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1994, allocations: 0 / 0.5551 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1994, allocations: 0 / 0.5551 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.2026, allocations: 1.34 MB / 0.5564 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2026, allocations: 0 / 0.5564 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.2028, allocations: 55.91 kB / 0.5565 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002285/0.2051, allocations: 497.4 kB / 0.557 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.2052, allocations: 15.97 kB / 0.557 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.2069, allocations: 2.078 MB / 0.559 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2069, allocations: 0 / 0.559 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.2097, allocations: 1.079 MB / 0.5601 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.21, allocations: 168.4 kB / 0.5602 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.2101, allocations: 12 kB / 0.5602 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.2103, allocations: 12 kB / 0.5602 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.2104, allocations: 31.95 kB / 0.5603 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.2104, allocations: 12 kB / 0.5603 GB, free: 13.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000322/0.2108, allocations: 275.1 kB / 0.5605 GB, free: 13.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2108, allocations: 4 kB / 0.5605 GB, free: 13.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000686/0.2115, allocations: 195.6 kB / 0.5607 GB, free: 13.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003303/0.2148, allocations: 1.811 MB / 0.5625 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000925/0.2157, allocations: 490 kB / 0.563 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2157, allocations: 0 / 0.563 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004873/0.2162, allocations: 307.3 kB / 0.5633 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009062/0.2172, allocations: 138.6 kB / 0.5634 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/0.2234, allocations: 3.175 MB / 0.5665 GB, free: 7.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.2238, allocations: 0.8398 MB / 0.5673 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002755/0.2241, allocations: 62.84 kB / 0.5674 GB, free: 6.238 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.2244, allocations: 175.3 kB / 0.5675 GB, free: 6.07 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2244, allocations: 0 / 0.5675 GB, free: 6.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.2567, allocations: 14.23 MB / 0.5814 GB, free: 8.094 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/0.257, allocations: 228.5 kB / 0.5817 GB, free: 7.848 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/2.521, allocations: 3 kB / 0.5817 GB, free: 7.848 MB / 462.1 MB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat does not exist to compare? outputFormat=mat