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.01026/0.01026, 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.875/1.875, 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.0009942/0.0009942, allocations: 94.84 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.8912/0.8912, allocations: 90.59 MB / 408.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 8 kB / 485.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5107, allocations: 66.28 MB / 0.5387 GB, free: 45.51 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1582/0.669, allocations: 124.5 MB / 0.6603 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.6726, allocations: 2.592 MB / 0.6628 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.6729, allocations: 7.938 kB / 0.6628 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.6735, allocations: 171.2 kB / 0.663 GB, free: 12.36 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007618/0.6742, allocations: 370.8 kB / 0.6633 GB, free: 12 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007815/0.675, allocations: 327.2 kB / 0.6636 GB, free: 11.68 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.6755, allocations: 387.2 kB / 0.664 GB, free: 11.3 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.6757, allocations: 96.42 kB / 0.6641 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009951/0.6767, allocations: 354.8 kB / 0.6644 GB, free: 10.86 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.6771, allocations: 211.2 kB / 0.6646 GB, free: 10.65 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.6771, allocations: 12 kB / 0.6647 GB, free: 10.64 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.6782, allocations: 0.5461 MB / 0.6652 GB, free: 10.09 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.6783, allocations: 51.77 kB / 0.6652 GB, free: 10.04 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.6784, allocations: 93.52 kB / 0.6653 GB, free: 9.945 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.679, allocations: 399 kB / 0.6657 GB, free: 9.566 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6791, allocations: 0 / 0.6657 GB, free: 9.566 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6791, allocations: 0.6562 kB / 0.6657 GB, free: 9.566 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.6791, allocations: 0 / 0.6657 GB, free: 9.566 MB / 490.7 MB 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.00135/0.6804, allocations: 0.6551 MB / 0.6664 GB, free: 8.867 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.6805, allocations: 8.031 kB / 0.6664 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.054e-05/0.6806, allocations: 66.47 kB / 0.6664 GB, free: 8.785 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.6807, allocations: 39.53 kB / 0.6665 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.6811, allocations: 278.3 kB / 0.6667 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.6811, allocations: 17.97 kB / 0.6667 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.6812, allocations: 24 kB / 0.6668 GB, free: 8.391 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.6817, allocations: 311.7 kB / 0.6671 GB, free: 8.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.6818, allocations: 0 / 0.6671 GB, free: 8.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.6818, allocations: 12 kB / 0.6671 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.6818, allocations: 7.984 kB / 0.6671 GB, free: 8.051 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.6823, allocations: 216.2 kB / 0.6673 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.6844, allocations: 1.56 MB / 0.6688 GB, free: 6.094 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/0.685, allocations: 244.7 kB / 0.669 GB, free: 5.828 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006933/0.6857, allocations: 469.6 kB / 0.6695 GB, free: 5.277 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.6857, allocations: 38.56 kB / 0.6695 GB, free: 5.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 2.114e-06/0.6858, allocations: 0 / 0.6695 GB, free: 5.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001196/0.687, allocations: 0.7644 MB / 0.6703 GB, free: 4.367 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.687, allocations: 102.8 kB / 0.6704 GB, free: 4.242 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.6873, allocations: 292.4 kB / 0.6707 GB, free: 3.953 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.6874, allocations: 37.7 kB / 0.6707 GB, free: 3.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.6875, allocations: 188.1 kB / 0.6709 GB, free: 3.719 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.6876, allocations: 86.73 kB / 0.671 GB, free: 3.633 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.472e-05/0.6876, allocations: 8 kB / 0.671 GB, free: 3.625 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6878, allocations: 334.8 kB / 0.6713 GB, free: 3.289 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.688, allocations: 88.19 kB / 0.6714 GB, free: 3.203 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.6882, allocations: 161.8 kB / 0.6715 GB, free: 3.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.6884, allocations: 104 kB / 0.6716 GB, free: 2.918 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6885, allocations: 0 / 0.6716 GB, free: 2.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006015/0.6891, allocations: 332.8 kB / 0.6719 GB, free: 2.586 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.6891, allocations: 8 kB / 0.6719 GB, free: 2.578 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.6891, allocations: 0 / 0.6719 GB, free: 2.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.6893, allocations: 32.97 kB / 0.672 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.6895, allocations: 51.92 kB / 0.672 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009925/0.6905, allocations: 1.296 MB / 0.6733 GB, free: 1.066 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.6907, allocations: 37.39 kB / 0.6733 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.6907, allocations: 8 kB / 0.6733 GB, free: 1.023 MB / 490.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: 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.0001555/0.6909, allocations: 153.8 kB / 0.6735 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.691, allocations: 35.58 kB / 0.6735 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/0.6916, allocations: 314.1 kB / 0.6738 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6916, allocations: 0 / 0.6738 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6916, allocations: 4 kB / 0.6738 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6917, allocations: 4.688 kB / 0.6738 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.6922, allocations: 353.2 kB / 0.6742 GB, free: 124 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6922, allocations: 4 kB / 0.6742 GB, free: 120 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.6924, allocations: 45.16 kB / 0.6742 GB, free: 76 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.921e-05/0.6925, allocations: 16.84 kB / 0.6742 GB, free: 56 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.6925, allocations: 8 kB / 0.6742 GB, free: 48 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000927/0.6934, allocations: 1.293 MB / 0.6755 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6934, allocations: 3.984 kB / 0.6755 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/0.6943, allocations: 0.6391 MB / 0.6761 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.33e-05/0.6944, allocations: 116.7 kB / 0.6762 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.6944, allocations: 0 / 0.6762 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.6947, allocations: 23.84 kB / 0.6763 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.6947, allocations: 27.91 kB / 0.6763 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.6948, allocations: 6.438 kB / 0.6763 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000189/0.695, allocations: 207.1 kB / 0.6765 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.695, allocations: 0 / 0.6765 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004986/0.6955, allocations: 107.8 kB / 0.6766 GB, free: 13.46 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.001348/0.6968, allocations: 1.426 MB / 0.678 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006955/0.6975, allocations: 365.1 kB / 0.6783 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6975, allocations: 0 / 0.6783 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.6979, allocations: 264.8 kB / 0.6786 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.6985, allocations: 64.19 kB / 0.6786 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.702, allocations: 3.238 MB / 0.6818 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.7024, allocations: 0.7908 MB / 0.6826 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001535/0.7025, allocations: 33.19 kB / 0.6826 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.7027, allocations: 111.4 kB / 0.6827 GB, free: 7 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.7027, allocations: 2.156 kB / 0.6827 GB, free: 7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.7251, allocations: 8.756 MB / 0.6913 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.7254, allocations: 235.1 kB / 0.6915 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/3.007, allocations: 0 / 0.6915 GB, free: 14.34 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