Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009686/0.0009686, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8349/0.8349, allocations: 89.67 MB / 380.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 9.125 kB / 460.1 MB, free: 24.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 68.84 MB / 0.5166 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.5442/0.7083, allocations: 133.3 MB / 0.6467 GB, free: 15.63 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003649/0.712, allocations: 2.897 MB / 0.6496 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004371/0.7125, allocations: 9.312 kB / 0.6496 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006839/0.7132, allocations: 181 kB / 0.6498 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000882/0.7141, allocations: 327 kB / 0.6501 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.7151, allocations: 323.8 kB / 0.6504 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007912/0.7159, allocations: 0.6224 MB / 0.651 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.7162, allocations: 101.3 kB / 0.6511 GB, free: 12.17 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000825/0.717, allocations: 346.9 kB / 0.6514 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.7174, allocations: 242.6 kB / 0.6516 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.7174, allocations: 14.69 kB / 0.6517 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009873/0.7184, allocations: 437.1 kB / 0.6521 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.7185, allocations: 42.16 kB / 0.6521 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.7186, allocations: 89.8 kB / 0.6522 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.7191, allocations: 367.1 kB / 0.6525 GB, free: 11.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.7191, allocations: 0 / 0.6525 GB, free: 11.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.7191, allocations: 4 kB / 0.6526 GB, free: 11.31 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.7191, allocations: 0 / 0.6526 GB, free: 11.31 MB / 478.1 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.001143/0.7203, allocations: 0.6257 MB / 0.6532 GB, free: 10.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.7203, allocations: 8.062 kB / 0.6532 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.622e-05/0.7204, allocations: 62.38 kB / 0.6532 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.7205, allocations: 47.44 kB / 0.6533 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.7209, allocations: 281.4 kB / 0.6535 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.7209, allocations: 19.94 kB / 0.6536 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.7209, allocations: 23.88 kB / 0.6536 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.7215, allocations: 328.2 kB / 0.6539 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7215, allocations: 0 / 0.6539 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.7215, allocations: 15.2 kB / 0.6539 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.7216, allocations: 5.75 kB / 0.6539 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.722, allocations: 218.8 kB / 0.6541 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.7238, allocations: 1.753 MB / 0.6558 GB, free: 8.336 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.7243, allocations: 181.5 kB / 0.656 GB, free: 8.203 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.7245, allocations: 78.11 kB / 0.6561 GB, free: 8.152 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006608/0.7252, allocations: 0.535 MB / 0.6566 GB, free: 7.555 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.7252, allocations: 37.47 kB / 0.6566 GB, free: 7.512 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.7252, allocations: 0 / 0.6566 GB, free: 7.512 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008574/0.7261, allocations: 362.2 kB / 0.657 GB, free: 7.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.7262, allocations: 105.7 kB / 0.6571 GB, free: 7.145 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.7265, allocations: 328.1 kB / 0.6574 GB, free: 6.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.7266, allocations: 28.7 kB / 0.6574 GB, free: 6.898 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.7267, allocations: 201 kB / 0.6576 GB, free: 6.715 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.7268, allocations: 54.92 kB / 0.6577 GB, free: 6.668 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.7268, allocations: 0 / 0.6577 GB, free: 6.668 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.727, allocations: 350.9 kB / 0.658 GB, free: 6.324 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.7271, allocations: 60.25 kB / 0.6581 GB, free: 6.301 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.7273, allocations: 118.7 kB / 0.6582 GB, free: 6.207 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.7275, allocations: 81.06 kB / 0.6583 GB, free: 6.168 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.7275, allocations: 0 / 0.6583 GB, free: 6.168 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004612/0.7279, allocations: 261 kB / 0.6585 GB, free: 6.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.728, allocations: 11.91 kB / 0.6585 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.728, allocations: 0 / 0.6585 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.7282, allocations: 31.03 kB / 0.6585 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.7284, allocations: 54 kB / 0.6586 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.7295, allocations: 1.284 MB / 0.6599 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.7297, allocations: 33.55 kB / 0.6599 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.7297, allocations: 10.28 kB / 0.6599 GB, free: 4.625 MB / 478.1 MB 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001739/0.7299, allocations: 145.6 kB / 0.66 GB, free: 4.488 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.73, allocations: 33 kB / 0.6601 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005661/0.7306, allocations: 270.1 kB / 0.6603 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.7306, allocations: 0 / 0.6603 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.7306, allocations: 2.75 kB / 0.6603 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.7306, allocations: 3.953 kB / 0.6603 GB, free: 4.293 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.731, allocations: 308.6 kB / 0.6606 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.731, allocations: 0 / 0.6606 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.7312, allocations: 37.69 kB / 0.6607 GB, free: 3.996 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.698e-05/0.7313, allocations: 27.69 kB / 0.6607 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.7313, allocations: 2.969 kB / 0.6607 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009085/0.7322, allocations: 1.297 MB / 0.662 GB, free: 2.617 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7322, allocations: 0 / 0.662 GB, free: 2.617 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.7328, allocations: 461.3 kB / 0.6624 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.919e-05/0.7329, allocations: 112.6 kB / 0.6625 GB, free: 2.156 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.733, allocations: 2.938 kB / 0.6625 GB, free: 2.156 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.7331, allocations: 19.8 kB / 0.6625 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.7332, allocations: 16.72 kB / 0.6625 GB, free: 2.137 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.7332, allocations: 5.094 kB / 0.6625 GB, free: 2.137 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.7335, allocations: 233.1 kB / 0.6628 GB, free: 1.984 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7335, allocations: 3.938 kB / 0.6628 GB, free: 1.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004732/0.7339, allocations: 95.81 kB / 0.6629 GB, free: 1.957 MB / 478.1 MB 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00111/0.7351, allocations: 1.087 MB / 0.6639 GB, free: 1.047 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005721/0.7356, allocations: 277 kB / 0.6642 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7357, allocations: 0 / 0.6642 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.736, allocations: 196.1 kB / 0.6644 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.7368, allocations: 98.03 kB / 0.6645 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.7401, allocations: 1.95 MB / 0.6664 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.7406, allocations: 0.7785 MB / 0.6671 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.7408, allocations: 44.38 kB / 0.6672 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.7409, allocations: 112.1 kB / 0.6673 GB, free: 14.47 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.741, allocations: 0 / 0.6673 GB, free: 14.47 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.763, allocations: 8.146 MB / 0.6752 GB, free: 8.09 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.7633, allocations: 218.5 kB / 0.6754 GB, free: 7.855 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.758, allocations: 4 kB / 0.6754 GB, free: 7.852 MB / 494.1 MB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat does not exist to compare? outputFormat=mat