Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.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,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe",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.004213/0.004213, allocations: 166.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.322/1.322, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.0007036/0.0007036, allocations: 82.31 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.667/0.667, allocations: 90.59 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8 kB / 485.4 MB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3846, allocations: 66.27 MB / 0.5387 GB, free: 45.11 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01463/0.3993, allocations: 15.88 MB / 0.5542 GB, free: 38.41 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005653/0.405, allocations: 6.232 MB / 0.5603 GB, free: 33.96 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000439/0.4055, allocations: 11.81 kB / 0.5603 GB, free: 33.96 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.4061, allocations: 222.1 kB / 0.5605 GB, free: 33.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009852/0.4071, allocations: 453.9 kB / 0.5609 GB, free: 33.55 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007065/0.4078, allocations: 275.6 kB / 0.5612 GB, free: 33.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006211/0.4085, allocations: 0.715 MB / 0.5619 GB, free: 33.07 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.4087, allocations: 114.1 kB / 0.562 GB, free: 33.03 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.4091, allocations: 239.9 kB / 0.5622 GB, free: 32.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.4094, allocations: 241.8 kB / 0.5625 GB, free: 32.83 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.4094, allocations: 20.41 kB / 0.5625 GB, free: 32.83 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008006/0.4102, allocations: 275.9 kB / 0.5628 GB, free: 32.76 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.4103, allocations: 71.97 kB / 0.5628 GB, free: 32.71 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.4104, allocations: 115.2 kB / 0.5629 GB, free: 32.64 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006316/0.4111, allocations: 0.4992 MB / 0.5634 GB, free: 32.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4111, allocations: 0 / 0.5634 GB, free: 32.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4111, allocations: 3.406 kB / 0.5634 GB, free: 32.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.4111, allocations: 0 / 0.5634 GB, free: 32.48 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001314/0.4124, allocations: 0.7747 MB / 0.5642 GB, free: 31.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.4125, allocations: 9.625 kB / 0.5642 GB, free: 31.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.785e-05/0.4126, allocations: 81.84 kB / 0.5643 GB, free: 31.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.4127, allocations: 58.41 kB / 0.5643 GB, free: 31.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.4132, allocations: 347.7 kB / 0.5647 GB, free: 31.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.4132, allocations: 29.84 kB / 0.5647 GB, free: 31.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.4133, allocations: 42.98 kB / 0.5647 GB, free: 31.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007538/0.414, allocations: 461.6 kB / 0.5652 GB, free: 31.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.4141, allocations: 3.938 kB / 0.5652 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.4141, allocations: 16.12 kB / 0.5652 GB, free: 31.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.4141, allocations: 14.47 kB / 0.5652 GB, free: 31.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006654/0.4148, allocations: 406.8 kB / 0.5656 GB, free: 31.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.4171, allocations: 2.062 MB / 0.5676 GB, free: 29.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007675/0.4179, allocations: 481.1 kB / 0.5681 GB, free: 29.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.4182, allocations: 196.2 kB / 0.5682 GB, free: 29.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.4195, allocations: 1.427 MB / 0.5696 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.4196, allocations: 43.41 kB / 0.5697 GB, free: 27.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.4196, allocations: 0 / 0.5697 GB, free: 27.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.005811/0.4254, allocations: 1.476 MB / 0.5711 GB, free: 27.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.4254, allocations: 86.11 kB / 0.5712 GB, free: 27.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.4258, allocations: 327.3 kB / 0.5715 GB, free: 26.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.4258, allocations: 36.39 kB / 0.5715 GB, free: 26.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.426, allocations: 230.2 kB / 0.5718 GB, free: 26.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.4261, allocations: 148.6 kB / 0.5719 GB, free: 26.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.4261, allocations: 13.34 kB / 0.5719 GB, free: 26.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.4262, allocations: 349.5 kB / 0.5723 GB, free: 26.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.4265, allocations: 140.1 kB / 0.5724 GB, free: 26.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.4268, allocations: 191.3 kB / 0.5726 GB, free: 26.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.4271, allocations: 158.4 kB / 0.5727 GB, free: 26.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4271, allocations: 4.906 kB / 0.5727 GB, free: 26.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002732/0.4298, allocations: 0.8001 MB / 0.5735 GB, free: 25.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.4298, allocations: 9.781 kB / 0.5735 GB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.4299, allocations: 2.406 kB / 0.5735 GB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002758/0.4326, allocations: 494.4 kB / 0.574 GB, free: 25.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.4329, allocations: 69.3 kB / 0.5741 GB, free: 25.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.4344, allocations: 2.087 MB / 0.5761 GB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.4347, allocations: 46.28 kB / 0.5761 GB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.4348, allocations: 16.36 kB / 0.5762 GB, free: 23.68 MB / 426.7 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 (37): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.435, allocations: 161.6 kB / 0.5763 GB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/0.4351, allocations: 39.52 kB / 0.5763 GB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/0.438, allocations: 0.8357 MB / 0.5772 GB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.438, allocations: 8.688 kB / 0.5772 GB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4381, allocations: 1.25 kB / 0.5772 GB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.4381, allocations: 6.516 kB / 0.5772 GB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.4416, allocations: 1.394 MB / 0.5785 GB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4417, allocations: 1.188 kB / 0.5785 GB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.442, allocations: 55.47 kB / 0.5786 GB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002634/0.4446, allocations: 494.5 kB / 0.5791 GB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.4447, allocations: 13.48 kB / 0.5791 GB, free: 22.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.446, allocations: 2.107 MB / 0.5811 GB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4461, allocations: 1.375 kB / 0.5811 GB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/0.4492, allocations: 1.137 MB / 0.5822 GB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.4494, allocations: 158.1 kB / 0.5824 GB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.4495, allocations: 12.52 kB / 0.5824 GB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.4498, allocations: 24.52 kB / 0.5824 GB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.4498, allocations: 38.72 kB / 0.5825 GB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.4499, allocations: 16.03 kB / 0.5825 GB, free: 19.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002662/0.4502, allocations: 237.3 kB / 0.5827 GB, free: 19.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4502, allocations: 1.75 kB / 0.5827 GB, free: 19.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006915/0.4509, allocations: 190.6 kB / 0.5829 GB, free: 19.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003689/0.4546, allocations: 1.875 MB / 0.5847 GB, free: 18.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.4556, allocations: 0.4967 MB / 0.5852 GB, free: 18.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4556, allocations: 1.406 kB / 0.5852 GB, free: 18.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005163/0.4562, allocations: 340.5 kB / 0.5855 GB, free: 17.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008632/0.457, allocations: 120.9 kB / 0.5857 GB, free: 17.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/0.4631, allocations: 3.047 MB / 0.5886 GB, free: 16.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.4635, allocations: 0.8354 MB / 0.5894 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.4638, allocations: 64.34 kB / 0.5895 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.464, allocations: 165.5 kB / 0.5897 GB, free: 15.55 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.464, allocations: 0 / 0.5897 GB, free: 15.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.4944, allocations: 13.71 MB / 0.603 GB, free: 9.012 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.4947, allocations: 236.1 kB / 0.6033 GB, free: 8.773 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/2.999, allocations: 4.062 kB / 0.6033 GB, free: 8.77 MB / 426.7 MB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat does not exist to compare? outputFormat=mat