Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",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.0008778/0.000878, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001157/0.001157, allocations: 168.7 kB / 15.95 MB, free: 204 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.448/1.448, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7721/0.7721, allocations: 89.66 MB / 380.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 12.28 kB / 460.1 MB, free: 24.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 68.83 MB / 0.5166 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.5295/0.6861, allocations: 128.4 MB / 0.642 GB, free: 3.461 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00449/0.6906, allocations: 3.854 MB / 0.6457 GB, free: 372 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.6909, allocations: 3.125 kB / 0.6458 GB, free: 372 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005994/0.6915, allocations: 137.8 kB / 0.6459 GB, free: 260 kB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Topology/Tests/TestSplitter.mo:13:25-13:32:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Topology/Tests/TestSplitter.mo:13:39-13:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0005825/0.6921, allocations: 190.9 kB / 0.6461 GB, free: 100 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.6925, allocations: 86.61 kB / 0.6461 GB, free: 36 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.6929, allocations: 309 kB / 0.6464 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.6931, allocations: 69.23 kB / 0.6465 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.6934, allocations: 115.9 kB / 0.6466 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.6936, allocations: 143.6 kB / 0.6468 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.6937, allocations: 8.656 kB / 0.6468 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004925/0.6942, allocations: 236.5 kB / 0.647 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.6942, allocations: 35.84 kB / 0.647 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.6943, allocations: 67.36 kB / 0.6471 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.6946, allocations: 199 kB / 0.6473 GB, free: 15.38 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6946, allocations: 0 / 0.6473 GB, free: 15.38 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6946, allocations: 7.938 kB / 0.6473 GB, free: 15.37 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.6946, allocations: 0 / 0.6473 GB, free: 15.37 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008417/0.6955, allocations: 494.9 kB / 0.6478 GB, free: 14.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.6955, allocations: 10.72 kB / 0.6478 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.809e-05/0.6956, allocations: 47.73 kB / 0.6478 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.6956, allocations: 27.27 kB / 0.6478 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.6959, allocations: 240 kB / 0.6481 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.696, allocations: 20.34 kB / 0.6481 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.696, allocations: 26.58 kB / 0.6481 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.6964, allocations: 225 kB / 0.6483 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.6964, allocations: 0 / 0.6483 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.6964, allocations: 8 kB / 0.6483 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.6964, allocations: 5.75 kB / 0.6483 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.6967, allocations: 129.1 kB / 0.6485 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.6977, allocations: 0.737 MB / 0.6492 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.698, allocations: 138 kB / 0.6493 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.6981, allocations: 70.27 kB / 0.6494 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/0.6983, allocations: 248.6 kB / 0.6496 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.6984, allocations: 37.47 kB / 0.6497 GB, free: 13.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.6984, allocations: 0 / 0.6497 GB, free: 13.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.00156/0.7, allocations: 0.8883 MB / 0.6505 GB, free: 12.47 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.7, allocations: 51.41 kB / 0.6506 GB, free: 12.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.7003, allocations: 234.9 kB / 0.6508 GB, free: 12.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.7003, allocations: 29.7 kB / 0.6508 GB, free: 12.21 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.7004, allocations: 138.8 kB / 0.651 GB, free: 12.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.7004, allocations: 52.53 kB / 0.651 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/0.7005, allocations: 0 / 0.651 GB, free: 12.03 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7006, allocations: 336.5 kB / 0.6513 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.7007, allocations: 44.73 kB / 0.6514 GB, free: 11.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.691e-05/0.7008, allocations: 69.3 kB / 0.6514 GB, free: 11.63 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.7009, allocations: 65.14 kB / 0.6515 GB, free: 11.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.7009, allocations: 0 / 0.6515 GB, free: 11.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004091/0.7013, allocations: 248.6 kB / 0.6517 GB, free: 11.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.7014, allocations: 5.438 kB / 0.6517 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7014, allocations: 9.594 kB / 0.6518 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/0.7017, allocations: 95.77 kB / 0.6518 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.7018, allocations: 20.05 kB / 0.6519 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.7038, allocations: 1.8 MB / 0.6536 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.7039, allocations: 6.5 kB / 0.6536 GB, free: 9.734 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.7039, allocations: 9.266 kB / 0.6536 GB, free: 9.73 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * 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 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.7041, allocations: 142 kB / 0.6538 GB, free: 9.594 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.7041, allocations: 23.09 kB / 0.6538 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.7046, allocations: 283.9 kB / 0.6541 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.7046, allocations: 0 / 0.6541 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.7046, allocations: 2.938 kB / 0.6541 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.7046, allocations: 3.984 kB / 0.6541 GB, free: 9.371 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008188/0.7055, allocations: 0.5817 MB / 0.6546 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7055, allocations: 0 / 0.6546 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.7055, allocations: 13.22 kB / 0.6546 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.7058, allocations: 98.86 kB / 0.6547 GB, free: 8.793 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.7058, allocations: 15.22 kB / 0.6548 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/0.7078, allocations: 1.813 MB / 0.6565 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.7078, allocations: 6.75 kB / 0.6565 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/0.7084, allocations: 398.7 kB / 0.6569 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.7085, allocations: 93.83 kB / 0.657 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.7085, allocations: 10.88 kB / 0.657 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.7086, allocations: 10.91 kB / 0.657 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.7087, allocations: 11.95 kB / 0.657 GB, free: 6.688 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.7087, allocations: 6.906 kB / 0.657 GB, free: 6.684 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.7089, allocations: 181 kB / 0.6572 GB, free: 6.559 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7089, allocations: 0 / 0.6572 GB, free: 6.559 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004116/0.7093, allocations: 71.78 kB / 0.6573 GB, free: 6.547 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.m_flow) * 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 (5): * Single equations (assignments): 4 * 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 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/0.7104, allocations: 0.9976 MB / 0.6583 GB, free: 5.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006669/0.7111, allocations: 309 kB / 0.6586 GB, free: 5.461 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7111, allocations: 0 / 0.6586 GB, free: 5.461 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.7115, allocations: 244.9 kB / 0.6588 GB, free: 5.273 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007149/0.7122, allocations: 89.3 kB / 0.6589 GB, free: 5.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.7148, allocations: 1.588 MB / 0.6604 GB, free: 4.113 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.7151, allocations: 0.7504 MB / 0.6612 GB, free: 3.383 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.7153, allocations: 24.92 kB / 0.6612 GB, free: 3.367 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.7154, allocations: 60.14 kB / 0.6612 GB, free: 3.316 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7154, allocations: 2.656 kB / 0.6612 GB, free: 3.316 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.7351, allocations: 7.237 MB / 0.6683 GB, free: 15.23 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.7353, allocations: 206.3 kB / 0.6685 GB, free: 14.99 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.726, allocations: 0 / 0.6685 GB, free: 14.99 MB / 494.1 MB (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat does not exist to compare? outputFormat=mat