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.001062/0.001062, allocations: 173.9 kB / 12.73 MB, free: 2.59 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.35/1.35, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009359/0.0009358, allocations: 83.98 kB / 285.6 MB, free: 13 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.01386/0.01386, allocations: 1.558 MB / 338.1 MB, free: 8.484 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.592/0.592, allocations: 90.04 MB / 479.3 MB, free: 2.988 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.311e-05/5.339e-05, allocations: 7.984 kB / 0.5446 GB, free: 7.898 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.216, allocations: 69.36 MB / 0.6123 GB, free: 2.453 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/1.536, allocations: 445.5 MB / 1.047 GB, free: 5.324 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003993/1.537, allocations: 94.62 kB / 1.047 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.717/4.254, allocations: 0.5985 GB / 1.646 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.364e-06/4.254, allocations: 0 / 1.646 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002985/4.254, allocations: 69.31 kB / 1.646 GB, free: 52.67 MB / 0.6042 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.01064/4.265, allocations: 2.796 MB / 1.649 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/4.265, allocations: 15.48 kB / 1.649 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001334/4.266, allocations: 293.6 kB / 1.649 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/4.268, allocations: 288.6 kB / 1.649 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/4.272, allocations: 1.15 MB / 1.65 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/4.272, allocations: 155 kB / 1.651 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009903/4.273, allocations: 218.5 kB / 1.651 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007274/4.281, allocations: 2.382 MB / 1.653 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.139e-05/4.281, allocations: 3.469 kB / 1.653 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005048/4.281, allocations: 79.84 kB / 1.653 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/4.281, allocations: 66.84 kB / 1.653 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004772/4.286, allocations: 2.194 MB / 1.655 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0193/4.306, allocations: 12.08 MB / 1.667 GB, free: 43.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004588/4.31, allocations: 2.495 MB / 1.67 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/4.312, allocations: 1.052 MB / 1.671 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01234/4.325, allocations: 6.641 MB / 1.677 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002306/4.327, allocations: 1.14 MB / 1.678 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=211): time 8.086e-06/4.327, allocations: 0 / 1.678 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=212): time 0.01065/4.338, allocations: 4.099 MB / 1.682 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/4.338, allocations: 104.5 kB / 1.682 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/4.339, allocations: 0.8323 MB / 1.683 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003438/4.34, allocations: 57.58 kB / 1.683 GB, free: 37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007952/4.341, allocations: 0.7786 MB / 1.684 GB, free: 36.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009135/4.342, allocations: 0.7099 MB / 1.685 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/4.342, allocations: 38.22 kB / 1.685 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001589/4.342, allocations: 378.3 kB / 1.685 GB, free: 35.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/4.343, allocations: 0.7432 MB / 1.686 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/4.345, allocations: 0.9234 MB / 1.687 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/4.347, allocations: 0.8858 MB / 1.688 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/4.347, allocations: 3.953 kB / 1.688 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005869/4.353, allocations: 2.58 MB / 1.69 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/4.353, allocations: 33.33 kB / 1.69 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/4.353, allocations: 3.938 kB / 1.69 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/4.355, allocations: 0.6181 MB / 1.691 GB, free: 32.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/4.356, allocations: 282.1 kB / 1.691 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008465/4.364, allocations: 11.36 MB / 1.702 GB, free: 22.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/4.367, allocations: 175.9 kB / 1.702 GB, free: 21.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005885/4.368, allocations: 79.36 kB / 1.702 GB, free: 21.98 MB / 0.6042 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 () * 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.0007964/4.368, allocations: 194.5 kB / 1.703 GB, free: 21.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008125/4.369, allocations: 175.5 kB / 1.703 GB, free: 21.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007694/4.377, allocations: 3.132 MB / 1.706 GB, free: 20.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.051e-05/4.377, allocations: 25.59 kB / 1.706 GB, free: 20.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.186e-05/4.377, allocations: 10.66 kB / 1.706 GB, free: 20.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.7e-05/4.377, allocations: 11.39 kB / 1.706 GB, free: 20.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/4.389, allocations: 5.452 MB / 1.711 GB, free: 18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/4.389, allocations: 0 / 1.711 GB, free: 18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/4.39, allocations: 303.8 kB / 1.711 GB, free: 17.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/4.392, allocations: 0.5453 MB / 1.712 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000287/4.393, allocations: 73.69 kB / 1.712 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/4.403, allocations: 14.18 MB / 1.726 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/4.403, allocations: 3.75 kB / 1.726 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009869/4.413, allocations: 4.091 MB / 1.73 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009339/4.414, allocations: 265.7 kB / 1.73 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007378/4.415, allocations: 44 kB / 1.73 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/4.417, allocations: 146.3 kB / 1.73 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006824/4.418, allocations: 195.1 kB / 1.731 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000352/4.418, allocations: 86.38 kB / 1.731 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001143/4.419, allocations: 0.6423 MB / 1.731 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/4.419, allocations: 0 / 1.731 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004756/4.424, allocations: 0.9774 MB / 1.732 GB, free: 16.25 MB / 0.6198 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) * 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.01231/4.436, allocations: 6.919 MB / 1.739 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005861/4.442, allocations: 3.212 MB / 1.742 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/4.442, allocations: 0 / 1.742 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004053/4.446, allocations: 2.641 MB / 1.745 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/4.45, allocations: 0.4954 MB / 1.745 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/4.461, allocations: 4.091 MB / 1.749 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/4.462, allocations: 1.555 MB / 1.751 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001887/4.464, allocations: 378.9 kB / 1.751 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/4.466, allocations: 0.8815 MB / 1.752 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.693e-06/4.466, allocations: 4 kB / 1.752 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.642/5.108, allocations: 76.91 MB / 1.827 GB, free: 67.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/5.108, allocations: 202.3 kB / 1.827 GB, free: 67.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.261/10.37, allocations: 4 kB / 1.827 GB, free: 67.5 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