Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001538/0.001538, allocations: 116.8 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.001635/0.001635, allocations: 214.3 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.573/1.573, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6713/0.6713, allocations: 100.3 MB / 409.8 MB, free: 5.391 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_dev_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.002437/0.002437, allocations: 88.81 kB / 0.5589 GB, free: 13.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3868, allocations: 74.42 MB / 0.6315 GB, free: 2.434 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02856/0.4154, allocations: 23.1 MB / 0.6541 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.4276, allocations: 9.503 MB / 0.6634 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008829/0.4285, allocations: 39.62 kB / 0.6634 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.4297, allocations: 413.2 kB / 0.6638 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.432, allocations: 0.8151 MB / 0.6646 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.4333, allocations: 470.4 kB / 0.6651 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.4348, allocations: 1.163 MB / 0.6662 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.4352, allocations: 155.3 kB / 0.6664 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008526/0.436, allocations: 0.494 MB / 0.6668 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005344/0.4365, allocations: 449.7 kB / 0.6673 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.4367, allocations: 64 kB / 0.6673 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.4381, allocations: 0.5073 MB / 0.6678 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.4383, allocations: 159.3 kB / 0.668 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000414/0.4387, allocations: 441.5 kB / 0.6684 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.4407, allocations: 1.21 MB / 0.6696 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4407, allocations: 3.938 kB / 0.6696 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4407, allocations: 0 / 0.6696 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.4407, allocations: 0 / 0.6696 GB, free: 12.43 MB / 0.4981 GB 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.002472/0.4432, allocations: 1.284 MB / 0.6708 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4432, allocations: 15.97 kB / 0.6708 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.631e-05/0.4432, allocations: 17.5 kB / 0.6709 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.4434, allocations: 106.7 kB / 0.671 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/0.4437, allocations: 116.2 kB / 0.6711 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.4449, allocations: 0.6753 MB / 0.6717 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.4449, allocations: 45.31 kB / 0.6718 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.445, allocations: 60 kB / 0.6718 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.4462, allocations: 0.6731 MB / 0.6725 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.4462, allocations: 0 / 0.6725 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.4463, allocations: 24 kB / 0.6725 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.4463, allocations: 16 kB / 0.6725 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.4474, allocations: 0.6297 MB / 0.6731 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.4515, allocations: 3.008 MB / 0.6761 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.4526, allocations: 0.6148 MB / 0.6767 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.4531, allocations: 263.1 kB / 0.6769 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002515/0.4556, allocations: 1.893 MB / 0.6788 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.4556, allocations: 47.11 kB / 0.6788 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.104e-06/0.4556, allocations: 0 / 0.6788 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.0106/0.4662, allocations: 2.424 MB / 0.6812 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.4663, allocations: 89.64 kB / 0.6813 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/0.4672, allocations: 0.5904 MB / 0.6819 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-05/0.4673, allocations: 37.7 kB / 0.6819 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.4677, allocations: 392.9 kB / 0.6823 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.4679, allocations: 238 kB / 0.6825 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.4681, allocations: 114.3 kB / 0.6826 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4683, allocations: 330 kB / 0.6829 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.4687, allocations: 213.2 kB / 0.6831 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.4692, allocations: 298.8 kB / 0.6834 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008999/0.4701, allocations: 0.5276 MB / 0.6839 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.4701, allocations: 4 kB / 0.6839 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005269/0.4753, allocations: 1.377 MB / 0.6853 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.4754, allocations: 4 kB / 0.6853 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4754, allocations: 4 kB / 0.6853 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00522/0.4806, allocations: 0.9352 MB / 0.6862 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.481, allocations: 103.8 kB / 0.6863 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.4841, allocations: 2.949 MB / 0.6892 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.4846, allocations: 59.56 kB / 0.6892 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.4847, allocations: 23.98 kB / 0.6892 GB, free: 7.246 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.0003381/0.485, allocations: 201.8 kB / 0.6894 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.4852, allocations: 87.44 kB / 0.6895 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005505/0.4907, allocations: 1.473 MB / 0.691 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.4907, allocations: 11.94 kB / 0.691 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4907, allocations: 0 / 0.691 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.4907, allocations: 7.984 kB / 0.691 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006364/0.4971, allocations: 2.129 MB / 0.6931 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4971, allocations: 0 / 0.6931 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.4974, allocations: 71.91 kB / 0.6931 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005135/0.5026, allocations: 0.9352 MB / 0.694 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/0.5026, allocations: 16.12 kB / 0.6941 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/0.5055, allocations: 2.956 MB / 0.6969 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5055, allocations: 0 / 0.6969 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005806/0.5113, allocations: 1.764 MB / 0.6987 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/0.5117, allocations: 216.3 kB / 0.6989 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/0.5118, allocations: 12 kB / 0.6989 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.5121, allocations: 16 kB / 0.6989 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.5123, allocations: 44.44 kB / 0.6989 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.5123, allocations: 27.92 kB / 0.699 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005822/0.5129, allocations: 427 kB / 0.6994 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5129, allocations: 0 / 0.6994 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008983/0.5138, allocations: 299.3 kB / 0.6997 GB, free: 12.22 MB / 0.5294 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.006584/0.5204, allocations: 2.584 MB / 0.7022 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.5219, allocations: 0.6667 MB / 0.7028 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5219, allocations: 0 / 0.7028 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007882/0.5227, allocations: 425.7 kB / 0.7032 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.5239, allocations: 227.2 kB / 0.7035 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.541, allocations: 7.283 MB / 0.7106 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00066/0.5417, allocations: 0.9503 MB / 0.7115 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004067/0.5421, allocations: 103.4 kB / 0.7116 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000415/0.5425, allocations: 315.2 kB / 0.7119 GB, free: 15.41 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.5425, allocations: 0 / 0.7119 GB, free: 15.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05867/0.6011, allocations: 24.02 MB / 0.7354 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.42, allocations: 19.17 kB / 0.7354 GB, free: 7.703 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 20.003356260014698] Failed to read output from testmodel.py, exit status != 0: 16.5902348899981 16.612915825 16.167944277 Calling exit ...