Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008305/0.008304, allocations: 171.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.2 MB / 239 MB, free: 1.824 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 110.1 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01168/0.01168, allocations: 1.556 MB / 342.9 MB, free: 9.297 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8054/0.8054, allocations: 90.32 MB / 484.7 MB, free: 21.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005164, allocations: 14.72 kB / 0.5527 GB, free: 30.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1829, allocations: 69.35 MB / 0.6204 GB, free: 5.562 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.5, allocations: 445.6 MB / 1.056 GB, free: 93.71 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004609/1.501, allocations: 94.42 kB / 1.056 GB, free: 93.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.656/4.157, allocations: 0.6008 GB / 1.656 GB, free: 52.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.715e-06/4.157, allocations: 0 / 1.656 GB, free: 52.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001817/4.157, allocations: 65.09 kB / 1.656 GB, free: 52.29 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.008638/4.166, allocations: 2.992 MB / 1.659 GB, free: 51.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/4.166, allocations: 11.64 kB / 1.659 GB, free: 51.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004622/4.166, allocations: 289.1 kB / 1.66 GB, free: 51.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009286/4.167, allocations: 293.4 kB / 1.66 GB, free: 51.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/4.17, allocations: 1.154 MB / 1.661 GB, free: 50.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/4.17, allocations: 155 kB / 1.661 GB, free: 50.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/4.17, allocations: 220.8 kB / 1.661 GB, free: 50.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/4.174, allocations: 2.449 MB / 1.664 GB, free: 50.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/4.174, allocations: 0.6875 kB / 1.664 GB, free: 50.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/4.174, allocations: 80.47 kB / 1.664 GB, free: 50.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-05/4.174, allocations: 75.44 kB / 1.664 GB, free: 50.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/4.178, allocations: 2.306 MB / 1.666 GB, free: 50.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/4.192, allocations: 12.06 MB / 1.678 GB, free: 43.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/4.196, allocations: 2.58 MB / 1.681 GB, free: 43.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008954/4.205, allocations: 6.567 MB / 1.687 GB, free: 39.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002031/4.207, allocations: 1.197 MB / 1.688 GB, free: 39.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=211): time 5.28e-06/4.207, allocations: 2.688 kB / 1.688 GB, free: 39.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=212): time 0.013/4.22, allocations: 7.468 MB / 1.695 GB, free: 36.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/4.22, allocations: 104.7 kB / 1.696 GB, free: 36.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/4.221, allocations: 0.8412 MB / 1.696 GB, free: 36.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/4.221, allocations: 58.73 kB / 1.696 GB, free: 36.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006838/4.222, allocations: 0.7842 MB / 1.697 GB, free: 35.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005818/4.222, allocations: 0.7119 MB / 1.698 GB, free: 35.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/4.222, allocations: 32.88 kB / 1.698 GB, free: 35.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001265/4.223, allocations: 374 kB / 1.698 GB, free: 34.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/4.224, allocations: 0.7903 MB / 1.699 GB, free: 34.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/4.225, allocations: 0.9756 MB / 1.7 GB, free: 34.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/4.227, allocations: 0.9367 MB / 1.701 GB, free: 34.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/4.227, allocations: 0 / 1.701 GB, free: 34.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005407/4.232, allocations: 2.693 MB / 1.704 GB, free: 34.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/4.232, allocations: 35.7 kB / 1.704 GB, free: 34.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/4.232, allocations: 4.656 kB / 1.704 GB, free: 34.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/4.234, allocations: 0.6173 MB / 1.704 GB, free: 34.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/4.235, allocations: 285.6 kB / 1.704 GB, free: 34.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008313/4.244, allocations: 11.46 MB / 1.716 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/4.246, allocations: 181.1 kB / 1.716 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004722/4.247, allocations: 77.48 kB / 1.716 GB, free: 24.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 2 {3 18,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001586/4.248, allocations: 406.3 kB / 1.716 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007445/4.249, allocations: 172.9 kB / 1.716 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007811/4.257, allocations: 3.234 MB / 1.72 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.707e-05/4.257, allocations: 27.75 kB / 1.72 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.521e-05/4.257, allocations: 6.75 kB / 1.72 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-05/4.257, allocations: 15.38 kB / 1.72 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/4.268, allocations: 5.573 MB / 1.725 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/4.268, allocations: 3.938 kB / 1.725 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/4.269, allocations: 297.4 kB / 1.725 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/4.271, allocations: 0.5407 MB / 1.726 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/4.271, allocations: 77.89 kB / 1.726 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/4.285, allocations: 14.37 MB / 1.74 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/4.285, allocations: 0.9375 kB / 1.74 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/4.297, allocations: 4.263 MB / 1.744 GB, free: 27.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009285/4.298, allocations: 256.8 kB / 1.744 GB, free: 26.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00065/4.298, allocations: 48.16 kB / 1.744 GB, free: 26.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/4.3, allocations: 147.1 kB / 1.745 GB, free: 26.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006516/4.301, allocations: 198.9 kB / 1.745 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003426/4.302, allocations: 88.05 kB / 1.745 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001335/4.303, allocations: 0.6559 MB / 1.745 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.11e-07/4.303, allocations: 0 / 1.745 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005037/4.308, allocations: 0.969 MB / 1.746 GB, free: 26.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.outlet.m_flow,source1.outlet.m_flow,boundary_rear3.fore.m_flow,connectRearOutlet1.outlet.m_flow,flowResistance2.rear.m_flow,boundary_fore5.rear.m_flow,sink3.inlet.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 8,(3,77.8%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01489/4.323, allocations: 7.068 MB / 1.753 GB, free: 24.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006649/4.33, allocations: 3.335 MB / 1.757 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/4.33, allocations: 0 / 1.757 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004687/4.334, allocations: 2.709 MB / 1.759 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/4.338, allocations: 0.5043 MB / 1.76 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03104/4.369, allocations: 14.61 MB / 1.774 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/4.372, allocations: 1.552 MB / 1.776 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002312/4.374, allocations: 380 kB / 1.776 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/4.376, allocations: 0.8799 MB / 1.777 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of SimCode: time 1.713e-06/4.376, allocations: 4 kB / 1.777 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1602/4.536, allocations: 74.39 MB / 1.849 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/4.536, allocations: 232.9 kB / 1.85 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.145/9.681, allocations: 2.406 kB / 1.85 GB, free: 3.785 MB / 0.6355 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat does not exist to compare? outputFormat=mat