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.007189/0.007189, allocations: 173.2 kB / 15.12 MB, free: 5.477 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.635/1.635, allocations: 205.4 MB / 221.3 MB, free: 13.67 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.0009542/0.0009542, allocations: 90.86 kB / 269.6 MB, free: 13.2 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.8856/0.8856, allocations: 90.58 MB / 408.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003645, allocations: 11.98 kB / 485.3 MB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5401, allocations: 66.28 MB / 0.5387 GB, free: 45.71 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01559/0.5558, allocations: 14.52 MB / 0.5528 GB, free: 39.76 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00619/0.562, allocations: 5.591 MB / 0.5583 GB, free: 35.85 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006862/0.5628, allocations: 9.781 kB / 0.5583 GB, free: 35.85 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000833/0.5636, allocations: 232.6 kB / 0.5585 GB, free: 35.71 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.5653, allocations: 478.8 kB / 0.559 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.5664, allocations: 290 kB / 0.5593 GB, free: 35.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008116/0.5672, allocations: 473.5 kB / 0.5597 GB, free: 34.98 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.5674, allocations: 118 kB / 0.5598 GB, free: 34.94 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004576/0.5679, allocations: 231.3 kB / 0.5601 GB, free: 34.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.5682, allocations: 217.6 kB / 0.5603 GB, free: 34.74 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.5682, allocations: 20.72 kB / 0.5603 GB, free: 34.74 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.5693, allocations: 355.6 kB / 0.5606 GB, free: 34.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.5694, allocations: 71.39 kB / 0.5607 GB, free: 34.64 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.5695, allocations: 122.5 kB / 0.5608 GB, free: 34.56 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005986/0.5701, allocations: 491.5 kB / 0.5613 GB, free: 34.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5701, allocations: 0 / 0.5613 GB, free: 34.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5701, allocations: 1.125 kB / 0.5613 GB, free: 34.42 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.5702, allocations: 0 / 0.5613 GB, free: 34.42 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.001285/0.5714, allocations: 0.7792 MB / 0.562 GB, free: 33.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.5715, allocations: 8.625 kB / 0.562 GB, free: 33.82 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.677e-05/0.5716, allocations: 84.09 kB / 0.5621 GB, free: 33.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.5718, allocations: 61.47 kB / 0.5622 GB, free: 33.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.5722, allocations: 342.6 kB / 0.5625 GB, free: 33.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.5722, allocations: 27.06 kB / 0.5625 GB, free: 33.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.5723, allocations: 42.08 kB / 0.5626 GB, free: 33.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007133/0.573, allocations: 454.4 kB / 0.563 GB, free: 33.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.573, allocations: 0 / 0.563 GB, free: 33.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.5731, allocations: 17.06 kB / 0.563 GB, free: 33.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.5731, allocations: 13.62 kB / 0.563 GB, free: 33.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/0.5738, allocations: 413.9 kB / 0.5634 GB, free: 33.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.5763, allocations: 2.097 MB / 0.5655 GB, free: 31.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008075/0.5771, allocations: 482.5 kB / 0.5659 GB, free: 31.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/0.5786, allocations: 1.45 MB / 0.5674 GB, free: 29.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.5787, allocations: 36.12 kB / 0.5674 GB, free: 29.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.774e-06/0.5787, allocations: 0 / 0.5674 GB, free: 29.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.006223/0.5849, allocations: 1.541 MB / 0.5689 GB, free: 29.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.585, allocations: 84.33 kB / 0.569 GB, free: 29.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005682/0.5856, allocations: 334.6 kB / 0.5693 GB, free: 28.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.5857, allocations: 31.67 kB / 0.5693 GB, free: 28.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.5859, allocations: 230.7 kB / 0.5695 GB, free: 28.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.586, allocations: 149.5 kB / 0.5697 GB, free: 28.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.5861, allocations: 9.125 kB / 0.5697 GB, free: 28.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5862, allocations: 353.8 kB / 0.57 GB, free: 28.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.5866, allocations: 135.8 kB / 0.5702 GB, free: 28.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.587, allocations: 191 kB / 0.5703 GB, free: 28.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.5874, allocations: 163 kB / 0.5705 GB, free: 27.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.5874, allocations: 1.156 kB / 0.5705 GB, free: 27.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.003048/0.5905, allocations: 0.8037 MB / 0.5713 GB, free: 27.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.5905, allocations: 9.562 kB / 0.5713 GB, free: 27.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.5905, allocations: 2.688 kB / 0.5713 GB, free: 27.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002722/0.5933, allocations: 486.6 kB / 0.5718 GB, free: 27.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.5936, allocations: 66.66 kB / 0.5718 GB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.5956, allocations: 2.096 MB / 0.5739 GB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.596, allocations: 42.56 kB / 0.5739 GB, free: 25.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.5961, allocations: 17.97 kB / 0.5739 GB, free: 25.59 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.0002741/0.5964, allocations: 166.1 kB / 0.5741 GB, free: 25.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.5965, allocations: 40.97 kB / 0.5741 GB, free: 25.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/0.5997, allocations: 0.8505 MB / 0.575 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.5997, allocations: 6 kB / 0.575 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.5997, allocations: 2.922 kB / 0.575 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.5997, allocations: 1.922 kB / 0.575 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004352/0.6041, allocations: 1.405 MB / 0.5763 GB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.6041, allocations: 0 / 0.5763 GB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.6044, allocations: 65.34 kB / 0.5764 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/0.6071, allocations: 484.7 kB / 0.5769 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.6071, allocations: 16.22 kB / 0.5769 GB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.6088, allocations: 2.111 MB / 0.5789 GB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6089, allocations: 1.031 kB / 0.5789 GB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/0.6122, allocations: 1.171 MB / 0.5801 GB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.6125, allocations: 162.7 kB / 0.5802 GB, free: 21.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.373e-05/0.6126, allocations: 7.906 kB / 0.5802 GB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.6129, allocations: 28.64 kB / 0.5803 GB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.632e-05/0.613, allocations: 34.2 kB / 0.5803 GB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.613, allocations: 16.84 kB / 0.5803 GB, free: 21.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002938/0.6133, allocations: 228.4 kB / 0.5805 GB, free: 21.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6133, allocations: 0 / 0.5805 GB, free: 21.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008778/0.6142, allocations: 193.7 kB / 0.5807 GB, free: 21.42 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.004119/0.6184, allocations: 2.042 MB / 0.5827 GB, free: 20.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.6196, allocations: 0.4985 MB / 0.5832 GB, free: 19.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6196, allocations: 5.406 kB / 0.5832 GB, free: 19.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005655/0.6202, allocations: 337.1 kB / 0.5835 GB, free: 19.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007793/0.621, allocations: 118.4 kB / 0.5836 GB, free: 19.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007144/0.6281, allocations: 3.792 MB / 0.5873 GB, free: 17.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.6286, allocations: 0.842 MB / 0.5882 GB, free: 16.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003283/0.629, allocations: 63.8 kB / 0.5882 GB, free: 16.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.6292, allocations: 170.9 kB / 0.5884 GB, free: 16.52 MB / 426.7 MB Notification: Performance of SimCode: time 8.61e-07/0.6292, allocations: 3.938 kB / 0.5884 GB, free: 16.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.6673, allocations: 13.66 MB / 0.6017 GB, free: 10.39 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.6676, allocations: 231.3 kB / 0.602 GB, free: 10.15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.271, allocations: 4 kB / 0.602 GB, free: 10.15 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