Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006725/0.006725, allocations: 167.8 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 221.3 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007717/0.0007719, allocations: 86.3 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.727/0.727, allocations: 90.6 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 8 kB / 485.4 MB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3512, allocations: 66.27 MB / 0.5387 GB, free: 45.02 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01664/0.3679, allocations: 20.99 MB / 0.5592 GB, free: 34.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007911/0.3758, allocations: 8.693 MB / 0.5677 GB, free: 28.55 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007118/0.3766, allocations: 14.78 kB / 0.5677 GB, free: 28.54 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007772/0.3774, allocations: 330.7 kB / 0.568 GB, free: 28.36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.379, allocations: 0.6445 MB / 0.5686 GB, free: 27.95 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.38, allocations: 365.1 kB / 0.569 GB, free: 27.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.3812, allocations: 1.044 MB / 0.57 GB, free: 27.26 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.3815, allocations: 176.4 kB / 0.5702 GB, free: 27.19 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000562/0.3821, allocations: 338.4 kB / 0.5705 GB, free: 27.05 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.3825, allocations: 355.6 kB / 0.5708 GB, free: 26.9 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.238e-05/0.3826, allocations: 28.34 kB / 0.5709 GB, free: 26.9 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.3838, allocations: 394.2 kB / 0.5712 GB, free: 26.8 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.935e-05/0.3839, allocations: 116.9 kB / 0.5714 GB, free: 26.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.384, allocations: 161.5 kB / 0.5715 GB, free: 26.64 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009003/0.3849, allocations: 0.7252 MB / 0.5722 GB, free: 26.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3849, allocations: 0 / 0.5722 GB, free: 26.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.644e-06/0.385, allocations: 1.031 kB / 0.5722 GB, free: 26.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.385, allocations: 0 / 0.5722 GB, free: 26.41 MB / 426.7 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.00179/0.3868, allocations: 1.007 MB / 0.5732 GB, free: 25.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3868, allocations: 9.844 kB / 0.5732 GB, free: 25.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.3869, allocations: 105.2 kB / 0.5733 GB, free: 25.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.3872, allocations: 91.2 kB / 0.5734 GB, free: 25.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.3877, allocations: 434.9 kB / 0.5738 GB, free: 25.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.3878, allocations: 54.33 kB / 0.5739 GB, free: 25.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/0.3879, allocations: 65.22 kB / 0.5739 GB, free: 25.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.3889, allocations: 0.6628 MB / 0.5746 GB, free: 24.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.389, allocations: 0.7969 kB / 0.5746 GB, free: 24.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.389, allocations: 25.22 kB / 0.5746 GB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.3891, allocations: 15.12 kB / 0.5746 GB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.3901, allocations: 0.6272 MB / 0.5752 GB, free: 24.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/0.3935, allocations: 2.998 MB / 0.5782 GB, free: 22.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.3947, allocations: 0.7399 MB / 0.5789 GB, free: 21.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/0.3952, allocations: 300.3 kB / 0.5792 GB, free: 21.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001865/0.397, allocations: 1.909 MB / 0.581 GB, free: 20.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.3971, allocations: 47.3 kB / 0.5811 GB, free: 20.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=68): time 2.404e-06/0.3971, allocations: 0 / 0.5811 GB, free: 20.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=68): time 0.009988/0.4071, allocations: 2.467 MB / 0.5835 GB, free: 19.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.4071, allocations: 89.12 kB / 0.5836 GB, free: 19.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000584/0.4077, allocations: 423.2 kB / 0.584 GB, free: 18.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.4078, allocations: 44.98 kB / 0.584 GB, free: 18.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.408, allocations: 315.2 kB / 0.5843 GB, free: 18.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.4082, allocations: 236.2 kB / 0.5845 GB, free: 18.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.4082, allocations: 14.56 kB / 0.5846 GB, free: 18.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4084, allocations: 371.5 kB / 0.5849 GB, free: 18.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.4087, allocations: 214.7 kB / 0.5851 GB, free: 18.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.4092, allocations: 310.4 kB / 0.5854 GB, free: 17.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.4097, allocations: 252.2 kB / 0.5857 GB, free: 17.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4097, allocations: 2.094 kB / 0.5857 GB, free: 17.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004996/0.4147, allocations: 1.381 MB / 0.587 GB, free: 17.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.4147, allocations: 6.641 kB / 0.587 GB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.4147, allocations: 2.938 kB / 0.587 GB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005108/0.4198, allocations: 0.9276 MB / 0.5879 GB, free: 17.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.4203, allocations: 101 kB / 0.588 GB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.4223, allocations: 2.82 MB / 0.5908 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006662/0.423, allocations: 73.78 kB / 0.5908 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.4231, allocations: 24.73 kB / 0.5909 GB, free: 14.51 MB / 426.7 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003027/0.4234, allocations: 199.3 kB / 0.5911 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.4235, allocations: 60.53 kB / 0.5911 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005285/0.4288, allocations: 1.433 MB / 0.5925 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.4288, allocations: 13.06 kB / 0.5925 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4288, allocations: 0.875 kB / 0.5925 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.4288, allocations: 5.312 kB / 0.5925 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006449/0.4353, allocations: 2.146 MB / 0.5946 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4353, allocations: 9 kB / 0.5946 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.4357, allocations: 82.19 kB / 0.5947 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004786/0.4405, allocations: 0.9302 MB / 0.5956 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/0.4406, allocations: 18.03 kB / 0.5956 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.4426, allocations: 2.828 MB / 0.5984 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4426, allocations: 1.438 kB / 0.5984 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/0.448, allocations: 1.822 MB / 0.6002 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.4484, allocations: 205.4 kB / 0.6004 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-05/0.4484, allocations: 16.2 kB / 0.6004 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.4488, allocations: 30.17 kB / 0.6004 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.4489, allocations: 46.33 kB / 0.6005 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/0.449, allocations: 30.05 kB / 0.6005 GB, free: 8.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003841/0.4494, allocations: 287.3 kB / 0.6008 GB, free: 8.547 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4494, allocations: 1.281 kB / 0.6008 GB, free: 8.547 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001139/0.4505, allocations: 294.3 kB / 0.601 GB, free: 8.457 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (46): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.006608/0.4572, allocations: 2.639 MB / 0.6036 GB, free: 6.836 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.4587, allocations: 0.7353 MB / 0.6043 GB, free: 6.438 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4587, allocations: 0.5 kB / 0.6043 GB, free: 6.438 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000756/0.4595, allocations: 479.1 kB / 0.6048 GB, free: 6.148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.4609, allocations: 169.4 kB / 0.605 GB, free: 6.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009107/0.47, allocations: 4.53 MB / 0.6094 GB, free: 1.934 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.4704, allocations: 0.9183 MB / 0.6103 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004183/0.4708, allocations: 92.56 kB / 0.6104 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.4711, allocations: 247.3 kB / 0.6106 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.4711, allocations: 0 / 0.6106 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.5095, allocations: 20.35 MB / 0.6305 GB, free: 12.66 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003482/0.5099, allocations: 248.9 kB / 0.6307 GB, free: 12.37 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.102, allocations: 15.3 kB / 0.6307 GB, free: 12.36 MB / 458.7 MB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat does not exist to compare? outputFormat=mat