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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 105.9 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00232/0.00232, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7422/0.7422, allocations: 93.72 MB / 390.9 MB, free: 4.613 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 92.45 kB / 0.5285 GB, free: 40.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1295, allocations: 68.28 MB / 0.5951 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01659/0.1461, allocations: 17.33 MB / 0.6121 GB, free: 6.746 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00817/0.1543, allocations: 6.786 MB / 0.6187 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005679/0.1549, allocations: 19.88 kB / 0.6187 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008063/0.1558, allocations: 294 kB / 0.619 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.1573, allocations: 0.5317 MB / 0.6195 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000873/0.1581, allocations: 374.6 kB / 0.6199 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009752/0.1591, allocations: 0.8085 MB / 0.6207 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.1594, allocations: 149.5 kB / 0.6208 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005963/0.16, allocations: 346.5 kB / 0.6211 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.1604, allocations: 306.4 kB / 0.6214 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.721e-05/0.1605, allocations: 36 kB / 0.6215 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009495/0.1614, allocations: 351.7 kB / 0.6218 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.1616, allocations: 115.5 kB / 0.6219 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.1619, allocations: 298.2 kB / 0.6222 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.1632, allocations: 0.8404 MB / 0.623 GB, free: 11.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1632, allocations: 0 / 0.623 GB, free: 11.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1632, allocations: 3.938 kB / 0.623 GB, free: 11.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.1632, allocations: 0 / 0.623 GB, free: 11.49 MB / 478.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.001716/0.165, allocations: 0.9805 MB / 0.624 GB, free: 10.46 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.165, allocations: 12.03 kB / 0.624 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.74e-05/0.1651, allocations: 78.7 kB / 0.6241 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.1653, allocations: 84.42 kB / 0.6241 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008845/0.1662, allocations: 0.531 MB / 0.6247 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.1663, allocations: 33 kB / 0.6247 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-05/0.1663, allocations: 39.95 kB / 0.6247 GB, free: 9.633 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007682/0.1671, allocations: 463.8 kB / 0.6252 GB, free: 9.164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1671, allocations: 0 / 0.6252 GB, free: 9.164 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.1672, allocations: 20 kB / 0.6252 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.1672, allocations: 11.98 kB / 0.6252 GB, free: 9.133 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/0.1679, allocations: 407.7 kB / 0.6256 GB, free: 8.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.1706, allocations: 2.053 MB / 0.6276 GB, free: 6.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.1713, allocations: 414.6 kB / 0.628 GB, free: 6.078 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.1716, allocations: 186.3 kB / 0.6282 GB, free: 5.891 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.1732, allocations: 1.419 MB / 0.6296 GB, free: 4.293 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.1733, allocations: 42.89 kB / 0.6296 GB, free: 4.242 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 1.683e-06/0.1733, allocations: 0 / 0.6296 GB, free: 4.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.005779/0.1791, allocations: 1.464 MB / 0.631 GB, free: 2.727 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.1792, allocations: 85.05 kB / 0.6311 GB, free: 2.625 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006218/0.1798, allocations: 479 kB / 0.6316 GB, free: 2.145 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.1798, allocations: 29.7 kB / 0.6316 GB, free: 2.109 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.1801, allocations: 292.7 kB / 0.6319 GB, free: 1.816 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.1802, allocations: 150.7 kB / 0.632 GB, free: 1.668 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.1804, allocations: 78.16 kB / 0.6321 GB, free: 1.586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1806, allocations: 366.7 kB / 0.6324 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.1808, allocations: 124.8 kB / 0.6326 GB, free: 1.098 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.1811, allocations: 189.8 kB / 0.6327 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.1817, allocations: 331 kB / 0.6331 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1817, allocations: 0 / 0.6331 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002749/0.1845, allocations: 0.7991 MB / 0.6338 GB, free: 15.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1845, allocations: 8 kB / 0.6338 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1845, allocations: 3.938 kB / 0.6338 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/0.1872, allocations: 493.3 kB / 0.6343 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.1874, allocations: 67.89 kB / 0.6344 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.1896, allocations: 2.189 MB / 0.6365 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.1899, allocations: 39.78 kB / 0.6366 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.1899, allocations: 19.98 kB / 0.6366 GB, free: 12.76 MB / 494.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002502/0.1902, allocations: 177.8 kB / 0.6367 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.1903, allocations: 59.62 kB / 0.6368 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.1932, allocations: 0.8606 MB / 0.6376 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.1932, allocations: 4 kB / 0.6376 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1932, allocations: 0 / 0.6376 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1932, allocations: 7.984 kB / 0.6377 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/0.1968, allocations: 1.372 MB / 0.639 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.1968, allocations: 0 / 0.639 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.197, allocations: 47.91 kB / 0.639 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002595/0.1997, allocations: 497.3 kB / 0.6395 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.1997, allocations: 15.92 kB / 0.6395 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.2018, allocations: 2.193 MB / 0.6417 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2019, allocations: 4.188 kB / 0.6417 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.205, allocations: 1.108 MB / 0.6428 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.2053, allocations: 172.6 kB / 0.6429 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/0.2054, allocations: 16.06 kB / 0.6429 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.2057, allocations: 8 kB / 0.6429 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.2058, allocations: 35.64 kB / 0.643 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.2058, allocations: 19.94 kB / 0.643 GB, free: 5.867 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004271/0.2062, allocations: 338.9 kB / 0.6433 GB, free: 5.539 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2062, allocations: 0 / 0.6433 GB, free: 5.539 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000668/0.2069, allocations: 191.6 kB / 0.6435 GB, free: 5.352 MB / 494.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003718/0.2106, allocations: 1.833 MB / 0.6453 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009902/0.2117, allocations: 471.1 kB / 0.6457 GB, free: 3.004 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2117, allocations: 4.062 kB / 0.6457 GB, free: 3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.2122, allocations: 318.2 kB / 0.646 GB, free: 2.676 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009119/0.2131, allocations: 155.2 kB / 0.6462 GB, free: 2.527 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.2233, allocations: 5.18 MB / 0.6513 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.2239, allocations: 0.8668 MB / 0.6521 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002765/0.2242, allocations: 78.14 kB / 0.6522 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.2245, allocations: 215.4 kB / 0.6524 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.2245, allocations: 3.938 kB / 0.6524 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04895/0.2735, allocations: 16.49 MB / 0.6685 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.36, allocations: 11.83 kB / 0.6685 GB, free: 11.77 MB / 0.5137 GB " [Timeout remaining time 646] (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/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 17.808883420191705] Failed to read output from testmodel.py, exit status != 0: 14.46681677014567 14.495013921 14.326626527 Calling exit ...