Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",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.008964/0.008965, allocations: 168.2 kB / 15.13 MB, free: 6.02 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.561/1.561, 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.0008866/0.0008866, allocations: 82.31 kB / 269.6 MB, free: 13.33 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.7243/0.7243, allocations: 90.6 MB / 408.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002937, allocations: 8 kB / 485.4 MB, free: 1.922 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3578, allocations: 66.27 MB / 0.5387 GB, free: 45.17 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1447/0.5026, allocations: 133.4 MB / 0.6689 GB, free: 6.129 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.5056, allocations: 2.901 MB / 0.6718 GB, free: 3.223 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.5058, allocations: 11.94 kB / 0.6718 GB, free: 3.211 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004777/0.5063, allocations: 178.9 kB / 0.672 GB, free: 3.035 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006006/0.5069, allocations: 361.8 kB / 0.6723 GB, free: 2.68 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.5076, allocations: 314.8 kB / 0.6726 GB, free: 2.371 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.5081, allocations: 0.6924 MB / 0.6733 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.5083, allocations: 95.42 kB / 0.6734 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006333/0.509, allocations: 354.4 kB / 0.6737 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.5093, allocations: 274.9 kB / 0.674 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.5093, allocations: 17.41 kB / 0.674 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007816/0.5101, allocations: 0.5068 MB / 0.6745 GB, free: 456 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.5101, allocations: 51.66 kB / 0.6745 GB, free: 404 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.583e-05/0.5102, allocations: 97.5 kB / 0.6746 GB, free: 300 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.5106, allocations: 401.4 kB / 0.675 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5107, allocations: 4 kB / 0.675 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5107, allocations: 0 / 0.675 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.5107, allocations: 0 / 0.675 GB, free: 15.9 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009805/0.5117, allocations: 0.6629 MB / 0.6757 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5117, allocations: 8.031 kB / 0.6757 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.948e-05/0.5118, allocations: 62.55 kB / 0.6757 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.5118, allocations: 39.53 kB / 0.6758 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.5121, allocations: 282.2 kB / 0.676 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5122, allocations: 16.56 kB / 0.676 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.5122, allocations: 24 kB / 0.6761 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.5127, allocations: 317.2 kB / 0.6764 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.5127, allocations: 0 / 0.6764 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.5128, allocations: 8 kB / 0.6764 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.5128, allocations: 8 kB / 0.6764 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.5132, allocations: 213.4 kB / 0.6766 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.5148, allocations: 1.553 MB / 0.6781 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.5154, allocations: 260.3 kB / 0.6784 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.5156, allocations: 108 kB / 0.6785 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007646/0.5164, allocations: 465.4 kB / 0.6789 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.5165, allocations: 42.5 kB / 0.6789 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 2.675e-06/0.5165, allocations: 0 / 0.6789 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.001039/0.5175, allocations: 456.3 kB / 0.6794 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.5176, allocations: 110.8 kB / 0.6795 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.5178, allocations: 296.4 kB / 0.6798 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.5179, allocations: 26.45 kB / 0.6798 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.518, allocations: 196.2 kB / 0.68 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.5181, allocations: 86.73 kB / 0.6801 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.5181, allocations: 4 kB / 0.6801 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5182, allocations: 342.8 kB / 0.6804 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.5184, allocations: 88.19 kB / 0.6805 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.5187, allocations: 146.4 kB / 0.6806 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.5189, allocations: 107.9 kB / 0.6807 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5189, allocations: 1.406 kB / 0.6807 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005791/0.5195, allocations: 332.1 kB / 0.681 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5195, allocations: 4 kB / 0.681 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5195, allocations: 4 kB / 0.681 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.5197, allocations: 28.72 kB / 0.6811 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.5199, allocations: 52.09 kB / 0.6811 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009363/0.5208, allocations: 1.286 MB / 0.6824 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.5211, allocations: 39.95 kB / 0.6824 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.5211, allocations: 12 kB / 0.6824 GB, free: 7.633 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.5213, allocations: 145.6 kB / 0.6826 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.5214, allocations: 31.58 kB / 0.6826 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000667/0.522, allocations: 330.2 kB / 0.6829 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.522, allocations: 0 / 0.6829 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5221, allocations: 5.969 kB / 0.6829 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5221, allocations: 0 / 0.6829 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.5226, allocations: 357.2 kB / 0.6833 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5226, allocations: 0 / 0.6833 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.5227, allocations: 35.98 kB / 0.6833 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.861e-05/0.5228, allocations: 24.84 kB / 0.6833 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.5229, allocations: 17.8 kB / 0.6833 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007449/0.5236, allocations: 1.28 MB / 0.6846 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5236, allocations: 0 / 0.6846 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.5244, allocations: 0.6259 MB / 0.6852 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.5245, allocations: 108.7 kB / 0.6853 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.5245, allocations: 4 kB / 0.6853 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.5248, allocations: 29.39 kB / 0.6853 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.5248, allocations: 27.81 kB / 0.6853 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.5249, allocations: 11.98 kB / 0.6854 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001773/0.5251, allocations: 199.1 kB / 0.6856 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5251, allocations: 0 / 0.6856 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004787/0.5255, allocations: 107.8 kB / 0.6857 GB, free: 4.098 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (18): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.5267, allocations: 1.269 MB / 0.6869 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006759/0.5274, allocations: 372.1 kB / 0.6872 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5274, allocations: 0 / 0.6872 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.5278, allocations: 268.5 kB / 0.6875 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.5285, allocations: 70.8 kB / 0.6876 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.5313, allocations: 2.063 MB / 0.6896 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.5316, allocations: 0.7792 MB / 0.6903 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000158/0.5318, allocations: 46.97 kB / 0.6904 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.5319, allocations: 103.4 kB / 0.6905 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/0.5319, allocations: 0 / 0.6905 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.552, allocations: 8.794 MB / 0.6991 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.5522, allocations: 243.7 kB / 0.6993 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.699, allocations: 0 / 0.6993 GB, free: 6.301 MB / 0.5105 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat does not exist to compare? outputFormat=mat