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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 209.6 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6836/0.6836, allocations: 94.57 MB / 404.1 MB, free: 10.96 MB / 334.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 80.12 kB / 0.5506 GB, free: 5.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4327, allocations: 73.03 MB / 0.6219 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03497/0.4676, allocations: 23.09 MB / 0.6444 GB, free: 5.051 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01407/0.4817, allocations: 9.501 MB / 0.6537 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.483, allocations: 47.5 kB / 0.6538 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.4843, allocations: 409.3 kB / 0.6542 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.4874, allocations: 0.819 MB / 0.655 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.4889, allocations: 470.4 kB / 0.6554 GB, free: 9.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.4909, allocations: 1.166 MB / 0.6565 GB, free: 8.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.4913, allocations: 143.5 kB / 0.6567 GB, free: 8.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.4923, allocations: 0.494 MB / 0.6572 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006193/0.4929, allocations: 445.8 kB / 0.6576 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.4931, allocations: 64 kB / 0.6576 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.4947, allocations: 0.5073 MB / 0.6581 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.495, allocations: 167.1 kB / 0.6583 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.4955, allocations: 441.5 kB / 0.6587 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.4981, allocations: 1.206 MB / 0.6599 GB, free: 5.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4981, allocations: 0 / 0.6599 GB, free: 5.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4981, allocations: 0 / 0.6599 GB, free: 5.145 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.4981, allocations: 0 / 0.6599 GB, free: 5.145 MB / 494.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.00262/0.5008, allocations: 1.299 MB / 0.6612 GB, free: 3.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.5008, allocations: 16.02 kB / 0.6612 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.395e-05/0.5008, allocations: 17.5 kB / 0.6612 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.501, allocations: 102.7 kB / 0.6613 GB, free: 3.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.5013, allocations: 112.3 kB / 0.6614 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.5026, allocations: 0.6676 MB / 0.6621 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.5026, allocations: 45.31 kB / 0.6621 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.5027, allocations: 60 kB / 0.6622 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.504, allocations: 0.6731 MB / 0.6628 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.504, allocations: 3.938 kB / 0.6628 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.5041, allocations: 27.94 kB / 0.6628 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.5041, allocations: 16 kB / 0.6629 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.5053, allocations: 0.6258 MB / 0.6635 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004534/0.5099, allocations: 3.019 MB / 0.6664 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.5111, allocations: 0.6095 MB / 0.667 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.5116, allocations: 259.2 kB / 0.6673 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002759/0.5143, allocations: 1.897 MB / 0.6691 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.5144, allocations: 43.12 kB / 0.6692 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.154e-06/0.5144, allocations: 0 / 0.6692 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01055/0.5249, allocations: 2.424 MB / 0.6715 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.525, allocations: 89.64 kB / 0.6716 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008292/0.5258, allocations: 0.5943 MB / 0.6722 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.5259, allocations: 37.7 kB / 0.6722 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.5262, allocations: 392.9 kB / 0.6726 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.5264, allocations: 234 kB / 0.6728 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.5267, allocations: 118.3 kB / 0.6729 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5269, allocations: 330 kB / 0.6733 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.5273, allocations: 205.2 kB / 0.6734 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.5278, allocations: 302.8 kB / 0.6737 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009462/0.5288, allocations: 0.5238 MB / 0.6742 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.5288, allocations: 4 kB / 0.6743 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005333/0.5341, allocations: 1.377 MB / 0.6756 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.5341, allocations: 4 kB / 0.6756 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.5341, allocations: 4 kB / 0.6756 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005404/0.5395, allocations: 0.9352 MB / 0.6765 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.54, allocations: 107.8 kB / 0.6766 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/0.5432, allocations: 2.937 MB / 0.6795 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/0.5438, allocations: 71.42 kB / 0.6796 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.5438, allocations: 24 kB / 0.6796 GB, free: 15.96 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003837/0.5442, allocations: 197.8 kB / 0.6798 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.5444, allocations: 87.44 kB / 0.6799 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005557/0.55, allocations: 1.475 MB / 0.6813 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.55, allocations: 11.94 kB / 0.6813 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.55, allocations: 0 / 0.6813 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/0.55, allocations: 7.984 kB / 0.6813 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006668/0.5567, allocations: 2.129 MB / 0.6834 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.5567, allocations: 0 / 0.6834 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.557, allocations: 71.91 kB / 0.6835 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005253/0.5623, allocations: 0.9429 MB / 0.6844 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.5624, allocations: 16 kB / 0.6844 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/0.5655, allocations: 2.952 MB / 0.6873 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5655, allocations: 0 / 0.6873 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005909/0.5714, allocations: 1.761 MB / 0.689 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.5718, allocations: 216.3 kB / 0.6892 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.923e-05/0.5719, allocations: 19.95 kB / 0.6892 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.5723, allocations: 15.98 kB / 0.6892 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.5724, allocations: 44.44 kB / 0.6893 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.5724, allocations: 20 kB / 0.6893 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006122/0.5731, allocations: 427 kB / 0.6897 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5731, allocations: 0 / 0.6897 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009737/0.574, allocations: 299.3 kB / 0.69 GB, free: 4.945 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006703/0.5807, allocations: 2.588 MB / 0.6925 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001505/0.5822, allocations: 0.6628 MB / 0.6932 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5822, allocations: 0 / 0.6932 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.583, allocations: 421.7 kB / 0.6936 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.5843, allocations: 230.6 kB / 0.6938 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/0.6025, allocations: 7.279 MB / 0.7009 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.6031, allocations: 0.9503 MB / 0.7018 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004541/0.6036, allocations: 114.7 kB / 0.7019 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/0.604, allocations: 315.2 kB / 0.7022 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of SimCode: time 1.433e-06/0.604, allocations: 0 / 0.7022 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05997/0.664, allocations: 24.02 MB / 0.7257 GB, free: 432 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.27, allocations: 12.05 kB / 0.7257 GB, free: 420 kB / 0.545 GB " [Timeout remaining time 644] (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/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 19.77555882401066] Failed to read output from testmodel.py, exit status != 0: 16.435077337024268 16.45097969 15.949592269 Calling exit ...