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.0009655/0.0009654, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008265/0.0008265, allocations: 93.91 kB / 280.5 MB, free: 5.312 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.0081/0.0081, allocations: 1.572 MB / 332.8 MB, free: 13.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6445/0.6445, allocations: 90.04 MB / 474 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.59e-05, allocations: 0 / 0.5376 GB, free: 33.11 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1368, allocations: 69.38 MB / 0.6053 GB, free: 8 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.264, allocations: 444.8 MB / 1.04 GB, free: 113 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/1.264, allocations: 88.08 kB / 1.04 GB, free: 113 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.984/3.248, allocations: 0.5957 GB / 1.635 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/3.248, allocations: 0 / 1.635 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002423/3.248, allocations: 63.92 kB / 1.636 GB, free: 3.238 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.009424/3.258, allocations: 2.8 MB / 1.638 GB, free: 380 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/3.258, allocations: 8.031 kB / 1.638 GB, free: 372 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/3.259, allocations: 288.9 kB / 1.639 GB, free: 80 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4359/3.695, allocations: 1.144 MB / 1.64 GB, free: 51.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/3.695, allocations: 67.06 kB / 1.64 GB, free: 51.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004928/3.696, allocations: 134 kB / 1.64 GB, free: 51.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004913/3.701, allocations: 2.084 MB / 1.642 GB, free: 51.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004067/3.705, allocations: 2.113 MB / 1.644 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/3.705, allocations: 1.219 kB / 1.644 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/3.705, allocations: 0 / 1.644 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.43e-05/3.705, allocations: 66.52 kB / 1.644 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/3.72, allocations: 11.71 MB / 1.655 GB, free: 44.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/3.723, allocations: 2.41 MB / 1.658 GB, free: 44.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/3.725, allocations: 0.9952 MB / 1.659 GB, free: 44.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01023/3.735, allocations: 6.556 MB / 1.665 GB, free: 41.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001751/3.737, allocations: 1.091 MB / 1.666 GB, free: 40.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=211): time 4.859e-06/3.737, allocations: 3.375 kB / 1.666 GB, free: 40.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=212): time 0.01189/3.749, allocations: 4.56 MB / 1.671 GB, free: 40.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/3.749, allocations: 99.14 kB / 1.671 GB, free: 39.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008009/3.75, allocations: 0.6723 MB / 1.671 GB, free: 39.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/3.75, allocations: 25.7 kB / 1.672 GB, free: 39.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/3.751, allocations: 0.7883 MB / 1.672 GB, free: 39.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000513/3.751, allocations: 0.6867 MB / 1.673 GB, free: 39.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/3.751, allocations: 3.688 kB / 1.673 GB, free: 39.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001011/3.751, allocations: 377.1 kB / 1.673 GB, free: 38.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/3.752, allocations: 0.7086 MB / 1.674 GB, free: 38.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/3.753, allocations: 0.8857 MB / 1.675 GB, free: 38.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003702/3.757, allocations: 1.222 MB / 1.676 GB, free: 38.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/3.757, allocations: 3.688 kB / 1.676 GB, free: 38.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006775/3.764, allocations: 2.799 MB / 1.679 GB, free: 38.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/3.764, allocations: 33.3 kB / 1.679 GB, free: 38.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/3.764, allocations: 3.719 kB / 1.679 GB, free: 38.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/3.766, allocations: 0.5873 MB / 1.679 GB, free: 38.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/3.767, allocations: 282.3 kB / 1.68 GB, free: 38.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008891/3.776, allocations: 11.33 MB / 1.691 GB, free: 28.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/3.778, allocations: 142.2 kB / 1.691 GB, free: 28.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/3.778, allocations: 81.88 kB / 1.691 GB, free: 28.93 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: connectRearOutlet1.r_rear:VARIABLE(unit = "Pa" protected = true ) type: Real $DER.connectRearOutlet1.outlet.m_flow:VARIABLE(flow=true unit = "kg/s" ) "Mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.connectorInletOutletFore.junctionRFF2_1.junctionMN.rears[1].m_flow:DUMMY_DER(flow=true fixed = false ) "mass flow rate" type: Real [1] $DER.sink3.inlet.m_flow:VARIABLE(flow=true unit = "kg/s" ) "mass flow rate" type: Real connectorInletOutletFore.junctionRFF2_1.junctionMN.r_mix:VARIABLE(unit = "Pa" protected = true ) "mixed r assuming positive massflow" type: Real 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,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004597/3.779, allocations: 143.7 kB / 1.691 GB, free: 28.82 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006946/3.786, allocations: 2.726 MB / 1.694 GB, free: 28.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004592/3.786, allocations: 156 kB / 1.694 GB, free: 28.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007391/3.794, allocations: 3.283 MB / 1.697 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.05e-05/3.794, allocations: 32.83 kB / 1.697 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/3.794, allocations: 10.5 kB / 1.697 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/3.794, allocations: 11.44 kB / 1.697 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/3.805, allocations: 5.38 MB / 1.702 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/3.805, allocations: 2.219 kB / 1.702 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/3.806, allocations: 309.1 kB / 1.703 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001697/3.807, allocations: 0.5273 MB / 1.703 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/3.808, allocations: 62.19 kB / 1.703 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/3.818, allocations: 13.67 MB / 1.717 GB, free: 32.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/3.818, allocations: 0 / 1.717 GB, free: 32.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009583/3.828, allocations: 4.257 MB / 1.721 GB, free: 31.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007976/3.829, allocations: 241.8 kB / 1.721 GB, free: 31.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/3.829, allocations: 16.17 kB / 1.721 GB, free: 31.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/3.83, allocations: 106.7 kB / 1.721 GB, free: 31.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004223/3.831, allocations: 199 kB / 1.721 GB, free: 31.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/3.831, allocations: 81.95 kB / 1.721 GB, free: 31.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006571/3.832, allocations: 0.5099 MB / 1.722 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/3.832, allocations: 0 / 1.722 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003423/3.835, allocations: 0.9055 MB / 1.723 GB, free: 31.61 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) * 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.01176/3.847, allocations: 7.077 MB / 1.73 GB, free: 29.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004459/3.851, allocations: 3.09 MB / 1.733 GB, free: 28.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/3.851, allocations: 0 / 1.733 GB, free: 28.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/3.854, allocations: 2.525 MB / 1.735 GB, free: 27.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/3.857, allocations: 447.9 kB / 1.736 GB, free: 27.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007541/3.865, allocations: 3.877 MB / 1.739 GB, free: 26.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/3.866, allocations: 1.544 MB / 1.741 GB, free: 25.51 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001444/3.867, allocations: 372 kB / 1.741 GB, free: 25.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009618/3.868, allocations: 0.862 MB / 1.742 GB, free: 25.48 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/3.868, allocations: 0 / 1.742 GB, free: 25.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/3.978, allocations: 62.2 MB / 1.803 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/3.978, allocations: 161.9 kB / 1.803 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.079/8.057, allocations: 6.188 kB / 1.803 GB, free: 21.06 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