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.001192/0.001192, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009793/0.0009794, allocations: 177.3 kB / 15.95 MB, free: 216 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.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7094/0.7094, allocations: 89.64 MB / 380.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.000501, allocations: 15.78 kB / 460 MB, free: 24.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1528, allocations: 68.83 MB / 0.5165 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01512/0.1679, allocations: 14.61 MB / 0.5307 GB, free: 13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006408/0.1744, allocations: 5.587 MB / 0.5362 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005367/0.175, allocations: 11.94 kB / 0.5362 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.1756, allocations: 238.8 kB / 0.5364 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.1769, allocations: 490.4 kB / 0.5369 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.1777, allocations: 298.8 kB / 0.5372 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006759/0.1784, allocations: 494.9 kB / 0.5377 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.1786, allocations: 119.2 kB / 0.5378 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004439/0.1791, allocations: 243.1 kB / 0.538 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.1793, allocations: 219 kB / 0.5382 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.1794, allocations: 20 kB / 0.5382 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009372/0.1803, allocations: 343.7 kB / 0.5386 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.322e-05/0.1804, allocations: 75.59 kB / 0.5386 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1805, allocations: 125.4 kB / 0.5387 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.1811, allocations: 0.4951 MB / 0.5392 GB, free: 4.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1812, allocations: 0 / 0.5392 GB, free: 4.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1812, allocations: 0 / 0.5392 GB, free: 4.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1812, allocations: 4 kB / 0.5392 GB, free: 4.273 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.001404/0.1826, allocations: 0.7868 MB / 0.54 GB, free: 3.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.1827, allocations: 19.97 kB / 0.54 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.711e-05/0.1827, allocations: 78.53 kB / 0.5401 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.1829, allocations: 67.23 kB / 0.5402 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.1835, allocations: 365 kB / 0.5405 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.1836, allocations: 29 kB / 0.5405 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.508e-05/0.1836, allocations: 44 kB / 0.5406 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/0.1844, allocations: 455.8 kB / 0.541 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1844, allocations: 0 / 0.541 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.1845, allocations: 19.95 kB / 0.541 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1845, allocations: 11.94 kB / 0.541 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006254/0.1851, allocations: 411.7 kB / 0.5414 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.1879, allocations: 2.072 MB / 0.5435 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.1886, allocations: 409.8 kB / 0.5439 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/0.19, allocations: 1.431 MB / 0.5452 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.19, allocations: 38.89 kB / 0.5453 GB, free: 13.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.724e-06/0.19, allocations: 0 / 0.5453 GB, free: 13.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.005562/0.1956, allocations: 1.436 MB / 0.5467 GB, free: 12.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.1957, allocations: 85.05 kB / 0.5468 GB, free: 11.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000455/0.1961, allocations: 369.7 kB / 0.5471 GB, free: 11.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.1962, allocations: 37.73 kB / 0.5472 GB, free: 11.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.1964, allocations: 256.3 kB / 0.5474 GB, free: 11.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.1965, allocations: 138 kB / 0.5475 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.1965, allocations: 4 kB / 0.5475 GB, free: 11.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1967, allocations: 358.8 kB / 0.5479 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.1969, allocations: 124.8 kB / 0.548 GB, free: 10.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.1972, allocations: 189.8 kB / 0.5482 GB, free: 10.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.1974, allocations: 145.6 kB / 0.5483 GB, free: 10.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1975, allocations: 0 / 0.5483 GB, free: 10.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002627/0.2001, allocations: 0.7882 MB / 0.5491 GB, free: 9.543 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.2001, allocations: 4 kB / 0.5491 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.2001, allocations: 7.984 kB / 0.5491 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/0.2028, allocations: 489.2 kB / 0.5496 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.2031, allocations: 67.89 kB / 0.5496 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.205, allocations: 2.102 MB / 0.5517 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.2055, allocations: 51.78 kB / 0.5517 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.2055, allocations: 16 kB / 0.5517 GB, free: 6.652 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.0002618/0.2058, allocations: 161.8 kB / 0.5519 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.2059, allocations: 47.38 kB / 0.5519 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/0.2087, allocations: 0.85 MB / 0.5528 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2087, allocations: 4 kB / 0.5528 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2087, allocations: 4 kB / 0.5528 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.2087, allocations: 3.984 kB / 0.5528 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/0.2121, allocations: 1.351 MB / 0.5541 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.2122, allocations: 4 kB / 0.5541 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.2124, allocations: 43.92 kB / 0.5542 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002534/0.2149, allocations: 497.5 kB / 0.5546 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.084e-05/0.215, allocations: 12 kB / 0.5546 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.2171, allocations: 2.11 MB / 0.5567 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2171, allocations: 0 / 0.5567 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/0.2202, allocations: 1.111 MB / 0.5578 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.2205, allocations: 168.5 kB / 0.5579 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.2206, allocations: 19.88 kB / 0.558 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.2209, allocations: 23.94 kB / 0.558 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.221, allocations: 27.95 kB / 0.558 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.221, allocations: 12.06 kB / 0.558 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003438/0.2214, allocations: 275.2 kB / 0.5583 GB, free: 15.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2214, allocations: 0 / 0.5583 GB, free: 15.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007165/0.2221, allocations: 191.7 kB / 0.5585 GB, free: 15.43 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.003549/0.2256, allocations: 2.06 MB / 0.5605 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009459/0.2266, allocations: 486.3 kB / 0.5609 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.2266, allocations: 4 kB / 0.561 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000482/0.2271, allocations: 314.5 kB / 0.5613 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000816/0.2279, allocations: 119.2 kB / 0.5614 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006374/0.2343, allocations: 3.931 MB / 0.5652 GB, free: 8.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.2348, allocations: 0.8475 MB / 0.566 GB, free: 7.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002922/0.2351, allocations: 66.14 kB / 0.5661 GB, free: 7.441 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.2353, allocations: 167.4 kB / 0.5663 GB, free: 7.281 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.2353, allocations: 0 / 0.5663 GB, free: 7.281 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.2656, allocations: 14.17 MB / 0.5801 GB, free: 9.359 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.2658, allocations: 224.4 kB / 0.5803 GB, free: 9.109 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/2.532, allocations: 0 / 0.5803 GB, free: 9.109 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