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.009498/0.009498, allocations: 169.9 kB / 15.12 MB, free: 5.559 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.758/1.758, 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.001017/0.001017, allocations: 90.91 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.9264/0.9264, allocations: 90.58 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003805, allocations: 8 kB / 485.3 MB, free: 1.992 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5343/0.5347, allocations: 66.28 MB / 0.5387 GB, free: 45.58 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.0194/0.5541, allocations: 19.14 MB / 0.5573 GB, free: 36.43 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008456/0.5626, allocations: 7.776 MB / 0.5649 GB, free: 31 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009155/0.5636, allocations: 14.03 kB / 0.565 GB, free: 31 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009669/0.5646, allocations: 334.3 kB / 0.5653 GB, free: 30.81 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.5668, allocations: 0.7088 MB / 0.566 GB, free: 30.32 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.5681, allocations: 377.5 kB / 0.5663 GB, free: 30.11 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.5693, allocations: 0.69 MB / 0.567 GB, free: 29.73 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.5697, allocations: 178.1 kB / 0.5672 GB, free: 29.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006263/0.5703, allocations: 323.9 kB / 0.5675 GB, free: 29.52 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.5708, allocations: 318.6 kB / 0.5678 GB, free: 29.38 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.86e-05/0.5708, allocations: 32.47 kB / 0.5678 GB, free: 29.38 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.5726, allocations: 0.5031 MB / 0.5683 GB, free: 29.29 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.5727, allocations: 111.5 kB / 0.5684 GB, free: 29.21 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.5729, allocations: 165.6 kB / 0.5686 GB, free: 29.12 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.5742, allocations: 0.7113 MB / 0.5693 GB, free: 28.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5742, allocations: 5.469 kB / 0.5693 GB, free: 28.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5742, allocations: 0 / 0.5693 GB, free: 28.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.5742, allocations: 0 / 0.5693 GB, free: 28.91 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.002134/0.5764, allocations: 1 MB / 0.5702 GB, free: 28.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.22e-05/0.5765, allocations: 10.28 kB / 0.5703 GB, free: 28.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.5766, allocations: 109 kB / 0.5704 GB, free: 28.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.5769, allocations: 92.39 kB / 0.5704 GB, free: 28.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.5775, allocations: 435.6 kB / 0.5709 GB, free: 27.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.222e-05/0.5776, allocations: 55.06 kB / 0.5709 GB, free: 27.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.5777, allocations: 60.75 kB / 0.571 GB, free: 27.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.579, allocations: 0.6573 MB / 0.5716 GB, free: 27.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.579, allocations: 1.156 kB / 0.5716 GB, free: 27.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.5791, allocations: 26.12 kB / 0.5716 GB, free: 27.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.5791, allocations: 15.45 kB / 0.5717 GB, free: 27.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.5804, allocations: 0.6274 MB / 0.5723 GB, free: 27.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004364/0.5847, allocations: 3.05 MB / 0.5752 GB, free: 24.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.5863, allocations: 0.7283 MB / 0.576 GB, free: 24.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002721/0.589, allocations: 1.952 MB / 0.5779 GB, free: 22.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.5891, allocations: 38.66 kB / 0.5779 GB, free: 22.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=68): time 3.537e-06/0.5891, allocations: 3.938 kB / 0.5779 GB, free: 22.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=68): time 0.01126/0.6004, allocations: 2.516 MB / 0.5804 GB, free: 21.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.6005, allocations: 88.34 kB / 0.5804 GB, free: 21.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.6012, allocations: 427.9 kB / 0.5809 GB, free: 21.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.231e-05/0.6012, allocations: 36.45 kB / 0.5809 GB, free: 21.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.6015, allocations: 318.6 kB / 0.5812 GB, free: 21.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.6017, allocations: 233.7 kB / 0.5814 GB, free: 20.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.6017, allocations: 10.75 kB / 0.5814 GB, free: 20.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6019, allocations: 375.8 kB / 0.5818 GB, free: 20.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.6023, allocations: 214 kB / 0.582 GB, free: 20.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.6028, allocations: 313.1 kB / 0.5823 GB, free: 20.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.6034, allocations: 253.1 kB / 0.5825 GB, free: 20.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.6034, allocations: 1.406 kB / 0.5825 GB, free: 20.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00532/0.6087, allocations: 1.377 MB / 0.5839 GB, free: 19.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.6087, allocations: 6.5 kB / 0.5839 GB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.6088, allocations: 2.781 kB / 0.5839 GB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005198/0.614, allocations: 0.9202 MB / 0.5848 GB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/0.6145, allocations: 105.9 kB / 0.5849 GB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.6169, allocations: 2.838 MB / 0.5877 GB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006994/0.6176, allocations: 72.92 kB / 0.5877 GB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.651e-05/0.6177, allocations: 24.59 kB / 0.5877 GB, free: 17.01 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.000381/0.618, allocations: 198.9 kB / 0.5879 GB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.6182, allocations: 60.83 kB / 0.588 GB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005581/0.6238, allocations: 1.444 MB / 0.5894 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.6238, allocations: 8.312 kB / 0.5894 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.6238, allocations: 6.469 kB / 0.5894 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.6239, allocations: 3.844 kB / 0.5894 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006962/0.6308, allocations: 2.177 MB / 0.5915 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.6309, allocations: 0.9375 kB / 0.5915 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.6312, allocations: 83.38 kB / 0.5916 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005255/0.6365, allocations: 0.9292 MB / 0.5925 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.371e-05/0.6366, allocations: 18.02 kB / 0.5926 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.6391, allocations: 2.839 MB / 0.5953 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6392, allocations: 5.25 kB / 0.5953 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/0.645, allocations: 1.832 MB / 0.5971 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/0.6456, allocations: 217.1 kB / 0.5973 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/0.6457, allocations: 16.27 kB / 0.5973 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.6461, allocations: 32.42 kB / 0.5974 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.6462, allocations: 46.31 kB / 0.5974 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.6463, allocations: 23.86 kB / 0.5974 GB, free: 11.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003811/0.6467, allocations: 294.8 kB / 0.5977 GB, free: 11.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6467, allocations: 1.25 kB / 0.5977 GB, free: 11.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001248/0.6479, allocations: 294.5 kB / 0.598 GB, free: 11.19 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.006506/0.6545, allocations: 2.808 MB / 0.6007 GB, free: 9.395 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.6562, allocations: 0.7283 MB / 0.6015 GB, free: 9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.6563, allocations: 1.375 kB / 0.6015 GB, free: 9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009779/0.6573, allocations: 482 kB / 0.6019 GB, free: 8.711 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.6585, allocations: 160.3 kB / 0.6021 GB, free: 8.633 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009754/0.6683, allocations: 5.728 MB / 0.6077 GB, free: 3.754 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.6687, allocations: 0.9261 MB / 0.6086 GB, free: 2.797 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004209/0.6691, allocations: 87.98 kB / 0.6087 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.6694, allocations: 247.3 kB / 0.6089 GB, free: 2.492 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6694, allocations: 4 kB / 0.6089 GB, free: 2.488 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04145/0.7109, allocations: 20.27 MB / 0.6287 GB, free: 14.55 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/0.7112, allocations: 235.4 kB / 0.6289 GB, free: 14.31 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/3.532, allocations: 4.062 kB / 0.6289 GB, free: 14.3 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