Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",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.0009971/0.0009974, 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.001287/0.001287, 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.418/1.418, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7254/0.7254, allocations: 89.65 MB / 380.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006255/0.0006257, allocations: 13.72 kB / 460.1 MB, free: 24.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1449, allocations: 68.84 MB / 0.5166 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02031/0.1652, allocations: 21.06 MB / 0.5371 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009887/0.1751, allocations: 8.711 MB / 0.5456 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.1763, allocations: 19.88 kB / 0.5457 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.1777, allocations: 330.1 kB / 0.546 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.1804, allocations: 0.648 MB / 0.5466 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.1815, allocations: 366.8 kB / 0.547 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.1827, allocations: 1.069 MB / 0.548 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.183, allocations: 168.6 kB / 0.5482 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005271/0.1836, allocations: 354.5 kB / 0.5485 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004084/0.184, allocations: 362.2 kB / 0.5489 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/0.1841, allocations: 32 kB / 0.5489 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.1853, allocations: 379.7 kB / 0.5492 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1854, allocations: 111.4 kB / 0.5494 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.1855, allocations: 173.3 kB / 0.5495 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008357/0.1864, allocations: 0.7366 MB / 0.5502 GB, free: 9.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1864, allocations: 0 / 0.5502 GB, free: 9.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1864, allocations: 3.938 kB / 0.5502 GB, free: 9.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1864, allocations: 0 / 0.5502 GB, free: 9.016 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.00176/0.1882, allocations: 1.02 MB / 0.5512 GB, free: 7.945 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1882, allocations: 12.03 kB / 0.5512 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.1884, allocations: 102.5 kB / 0.5513 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.1886, allocations: 90.95 kB / 0.5514 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.1892, allocations: 456.5 kB / 0.5519 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.1892, allocations: 49.31 kB / 0.5519 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.754e-05/0.1893, allocations: 64 kB / 0.552 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.1904, allocations: 0.6691 MB / 0.5526 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.1905, allocations: 3.906 kB / 0.5526 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/0.1905, allocations: 24 kB / 0.5527 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.1905, allocations: 16 kB / 0.5527 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.1916, allocations: 0.6336 MB / 0.5533 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.1953, allocations: 2.968 MB / 0.5562 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.1963, allocations: 0.6732 MB / 0.5568 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000408/0.1967, allocations: 287.9 kB / 0.5571 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/0.1987, allocations: 1.897 MB / 0.559 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1988, allocations: 43.12 kB / 0.559 GB, free: 15.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.094e-06/0.1988, allocations: 0 / 0.559 GB, free: 15.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.008975/0.2077, allocations: 2.443 MB / 0.5614 GB, free: 12.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.2079, allocations: 89.7 kB / 0.5615 GB, free: 12.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006017/0.2085, allocations: 470.9 kB / 0.5619 GB, free: 12.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.2085, allocations: 37.7 kB / 0.562 GB, free: 12.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.2088, allocations: 328.4 kB / 0.5623 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.209, allocations: 224.7 kB / 0.5625 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.209, allocations: 12 kB / 0.5625 GB, free: 11.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2092, allocations: 378.7 kB / 0.5629 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.2095, allocations: 209.2 kB / 0.5631 GB, free: 11.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.2099, allocations: 294.8 kB / 0.5634 GB, free: 10.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.2104, allocations: 243.1 kB / 0.5636 GB, free: 10.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.2104, allocations: 4 kB / 0.5636 GB, free: 10.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004822/0.2152, allocations: 1.354 MB / 0.5649 GB, free: 9.184 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.2153, allocations: 4 kB / 0.5649 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.2153, allocations: 4 kB / 0.5649 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004532/0.2198, allocations: 0.9235 MB / 0.5658 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.2203, allocations: 107.9 kB / 0.5659 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.2227, allocations: 2.834 MB / 0.5687 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.2232, allocations: 75.5 kB / 0.5688 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/0.2233, allocations: 28 kB / 0.5688 GB, free: 5.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002862/0.2236, allocations: 189.6 kB / 0.569 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.2237, allocations: 67.16 kB / 0.569 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004886/0.2286, allocations: 1.467 MB / 0.5705 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.2286, allocations: 8 kB / 0.5705 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2286, allocations: 0 / 0.5705 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.2286, allocations: 3.984 kB / 0.5705 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/0.2342, allocations: 2.101 MB / 0.5725 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2342, allocations: 0 / 0.5725 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.2345, allocations: 75.91 kB / 0.5726 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004385/0.2389, allocations: 0.9313 MB / 0.5735 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.889e-05/0.239, allocations: 16 kB / 0.5735 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.2414, allocations: 2.822 MB / 0.5763 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2414, allocations: 4.031 kB / 0.5763 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005065/0.2465, allocations: 1.748 MB / 0.578 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.2469, allocations: 208 kB / 0.5782 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.247, allocations: 12 kB / 0.5782 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.2474, allocations: 27.98 kB / 0.5782 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.2475, allocations: 48.45 kB / 0.5783 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.2476, allocations: 19.98 kB / 0.5783 GB, free: 10.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004179/0.248, allocations: 342.9 kB / 0.5786 GB, free: 10.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.248, allocations: 0 / 0.5786 GB, free: 10.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009224/0.2489, allocations: 291.4 kB / 0.5789 GB, free: 10.31 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.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 (41): * Single equations (assignments): 38 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005723/0.2546, allocations: 2.583 MB / 0.5814 GB, free: 7.691 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.2561, allocations: 0.6901 MB / 0.5821 GB, free: 6.992 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2562, allocations: 0.5 kB / 0.5821 GB, free: 6.992 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007367/0.2569, allocations: 445.6 kB / 0.5825 GB, free: 6.539 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.2582, allocations: 195.2 kB / 0.5827 GB, free: 6.352 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009536/0.2678, allocations: 4.678 MB / 0.5873 GB, free: 1.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.2684, allocations: 0.9186 MB / 0.5882 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004577/0.2688, allocations: 87.3 kB / 0.5883 GB, free: 0.543 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.2692, allocations: 251.3 kB / 0.5885 GB, free: 304 kB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2692, allocations: 0 / 0.5885 GB, free: 304 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3235/0.5926, allocations: 20.86 MB / 0.6089 GB, free: 66.44 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.5928, allocations: 229.1 kB / 0.6091 GB, free: 66.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/3.198, allocations: 1.281 kB / 0.6091 GB, free: 66.2 MB / 462.1 MB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat does not exist to compare? outputFormat=mat