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.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.001676/0.001676, 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.002311/0.002311, 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.519/1.519, 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.6303/0.6303, 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,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe",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.002451/0.002451, allocations: 83.88 kB / 0.5506 GB, free: 5.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4261, allocations: 73.04 MB / 0.6219 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02384/0.4499, allocations: 17.53 MB / 0.639 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.4608, allocations: 6.812 MB / 0.6457 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009402/0.4617, allocations: 35.69 kB / 0.6457 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.4629, allocations: 278.1 kB / 0.646 GB, free: 3.516 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.4651, allocations: 0.5512 MB / 0.6465 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.4664, allocations: 358.7 kB / 0.6468 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.468, allocations: 0.8087 MB / 0.6476 GB, free: 1.797 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.4683, allocations: 97.53 kB / 0.6477 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009516/0.4692, allocations: 378.3 kB / 0.6481 GB, free: 1.328 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.4698, allocations: 302.5 kB / 0.6484 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.47, allocations: 43.94 kB / 0.6484 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.4714, allocations: 367.6 kB / 0.6488 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.4716, allocations: 107.5 kB / 0.6489 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000513/0.4722, allocations: 298.2 kB / 0.6492 GB, free: 236 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.4746, allocations: 0.8442 MB / 0.65 GB, free: 15.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.4746, allocations: 3.984 kB / 0.65 GB, free: 15.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4746, allocations: 0 / 0.65 GB, free: 15.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.282e-05/0.4746, allocations: 0 / 0.65 GB, free: 15.38 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002355/0.477, allocations: 0.9844 MB / 0.6509 GB, free: 14.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.477, allocations: 8.031 kB / 0.651 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.927e-05/0.4771, allocations: 13.19 kB / 0.651 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.4772, allocations: 82.7 kB / 0.651 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.4774, allocations: 76.47 kB / 0.6511 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.4785, allocations: 0.5424 MB / 0.6517 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.4785, allocations: 29 kB / 0.6517 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/0.4786, allocations: 40 kB / 0.6517 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000863/0.4795, allocations: 463.8 kB / 0.6522 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.4795, allocations: 0 / 0.6522 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/0.4795, allocations: 16 kB / 0.6522 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.4796, allocations: 11.98 kB / 0.6522 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007806/0.4803, allocations: 411.7 kB / 0.6526 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.4835, allocations: 2.057 MB / 0.6546 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008201/0.4843, allocations: 383.8 kB / 0.655 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.4846, allocations: 165.6 kB / 0.6551 GB, free: 9.812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001957/0.4866, allocations: 1.416 MB / 0.6565 GB, free: 8.219 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.4866, allocations: 38.83 kB / 0.6565 GB, free: 8.172 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 2.565e-06/0.4866, allocations: 0 / 0.6565 GB, free: 8.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.006378/0.493, allocations: 1.456 MB / 0.658 GB, free: 6.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.4931, allocations: 85.05 kB / 0.658 GB, free: 6.566 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007145/0.4938, allocations: 478.9 kB / 0.6585 GB, free: 6.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/0.4939, allocations: 33.7 kB / 0.6585 GB, free: 6.047 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.4941, allocations: 292.7 kB / 0.6588 GB, free: 5.754 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.4943, allocations: 146.8 kB / 0.6589 GB, free: 5.609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.4944, allocations: 70.12 kB / 0.659 GB, free: 5.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.4946, allocations: 370.8 kB / 0.6594 GB, free: 5.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.4949, allocations: 128.8 kB / 0.6595 GB, free: 5.039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.4953, allocations: 185.8 kB / 0.6597 GB, free: 4.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.4959, allocations: 327 kB / 0.66 GB, free: 4.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4959, allocations: 0 / 0.66 GB, free: 4.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.003004/0.4989, allocations: 0.7954 MB / 0.6608 GB, free: 3.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.4989, allocations: 12.02 kB / 0.6608 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.4989, allocations: 4 kB / 0.6608 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002899/0.5018, allocations: 485.2 kB / 0.6612 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.5021, allocations: 63.91 kB / 0.6613 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.5046, allocations: 2.201 MB / 0.6634 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.505, allocations: 39.67 kB / 0.6635 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.505, allocations: 20.12 kB / 0.6635 GB, free: 0.7148 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.0002988/0.5053, allocations: 165.8 kB / 0.6637 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.5055, allocations: 67.64 kB / 0.6637 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.5087, allocations: 0.8591 MB / 0.6646 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.5087, allocations: 4 kB / 0.6646 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5087, allocations: 4 kB / 0.6646 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.5087, allocations: 3.984 kB / 0.6646 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/0.5128, allocations: 1.364 MB / 0.6659 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.5128, allocations: 4 kB / 0.6659 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.513, allocations: 51.91 kB / 0.666 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/0.5159, allocations: 493.2 kB / 0.6664 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.839e-05/0.5159, allocations: 19.98 kB / 0.6664 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.5182, allocations: 2.2 MB / 0.6686 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.5182, allocations: 4.031 kB / 0.6686 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.5217, allocations: 1.096 MB / 0.6697 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/0.522, allocations: 172.5 kB / 0.6698 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.5221, allocations: 19.92 kB / 0.6698 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.5224, allocations: 12.06 kB / 0.6699 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/0.5225, allocations: 31.84 kB / 0.6699 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.5225, allocations: 15.98 kB / 0.6699 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004788/0.523, allocations: 342.9 kB / 0.6702 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.523, allocations: 0 / 0.6702 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000797/0.5238, allocations: 195.6 kB / 0.6704 GB, free: 9.309 MB / 0.4981 GB 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.004301/0.5281, allocations: 1.811 MB / 0.6722 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.5293, allocations: 461.8 kB / 0.6726 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5293, allocations: 320 / 0.6726 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005905/0.5298, allocations: 298.5 kB / 0.6729 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.5309, allocations: 160.4 kB / 0.6731 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.5434, allocations: 5.182 MB / 0.6781 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.544, allocations: 0.8745 MB / 0.679 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000347/0.5444, allocations: 75.78 kB / 0.6791 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.5447, allocations: 207.4 kB / 0.6793 GB, free: 28 kB / 0.4981 GB Notification: Performance of SimCode: time 7.02e-07/0.5447, allocations: 4 kB / 0.6793 GB, free: 24 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05065/0.5954, allocations: 16.62 MB / 0.6955 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.74, allocations: 11.94 kB / 0.6955 GB, free: 15.63 MB / 0.5294 GB " [Timeout remaining time 645] (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: 18.208446290984284] Failed to read output from testmodel.py, exit status != 0: 14.905480112007353 14.936760381 14.456342731 Calling exit ...