Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01264/0.01264, allocations: 171 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.4 MB / 221.2 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009861/0.0009862, allocations: 86.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8966/0.8966, allocations: 90.6 MB / 408.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 8 kB / 485.3 MB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4524, allocations: 66.27 MB / 0.5387 GB, free: 45.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.752, allocations: 445.4 MB / 0.9737 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/1.753, allocations: 97.53 kB / 0.9738 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.13/3.883, allocations: 0.589 GB / 1.563 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.738e-06/3.883, allocations: 0 / 1.563 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003316/3.884, allocations: 67.28 kB / 1.563 GB, free: 66.82 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.01279/3.896, allocations: 2.986 MB / 1.566 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/3.896, allocations: 13.78 kB / 1.566 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001117/3.898, allocations: 286.9 kB / 1.566 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/3.899, allocations: 287.7 kB / 1.566 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/3.902, allocations: 1.167 MB / 1.567 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/3.902, allocations: 156.5 kB / 1.568 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/3.902, allocations: 216.4 kB / 1.568 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004713/3.907, allocations: 2.455 MB / 1.57 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/3.907, allocations: 3.938 kB / 1.57 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/3.907, allocations: 82.56 kB / 1.57 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/3.907, allocations: 64.41 kB / 1.57 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004029/3.911, allocations: 2.309 MB / 1.573 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/3.929, allocations: 12.07 MB / 1.584 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00409/3.933, allocations: 2.584 MB / 1.587 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/3.943, allocations: 6.564 MB / 1.593 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002096/3.946, allocations: 1.194 MB / 1.594 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=211): time 5.701e-06/3.946, allocations: 0 / 1.594 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=212): time 0.01441/3.96, allocations: 7.477 MB / 1.602 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/3.96, allocations: 104.2 kB / 1.602 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/3.961, allocations: 0.8418 MB / 1.603 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002681/3.962, allocations: 60.73 kB / 1.603 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006083/3.962, allocations: 0.7812 MB / 1.603 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006004/3.963, allocations: 0.7165 MB / 1.604 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/3.963, allocations: 29.81 kB / 1.604 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001183/3.963, allocations: 378.7 kB / 1.605 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/3.965, allocations: 0.7977 MB / 1.605 GB, free: 43.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/3.966, allocations: 0.9684 MB / 1.606 GB, free: 42.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/3.967, allocations: 0.9329 MB / 1.607 GB, free: 42.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/3.967, allocations: 0 / 1.607 GB, free: 42.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005679/3.973, allocations: 2.695 MB / 1.61 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/3.973, allocations: 32.56 kB / 1.61 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/3.973, allocations: 3.625 kB / 1.61 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/3.975, allocations: 0.6262 MB / 1.61 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/3.976, allocations: 277.4 kB / 1.611 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007719/3.984, allocations: 11.46 MB / 1.622 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/3.987, allocations: 172 kB / 1.622 GB, free: 29.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/3.987, allocations: 86.27 kB / 1.622 GB, free: 29.95 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 () * 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.001249/3.988, allocations: 403 kB / 1.623 GB, free: 29.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005515/3.989, allocations: 172.3 kB / 1.623 GB, free: 29.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006588/3.995, allocations: 3.247 MB / 1.626 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.736e-05/3.995, allocations: 25.81 kB / 1.626 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/3.995, allocations: 11.28 kB / 1.626 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/3.995, allocations: 10.36 kB / 1.626 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/4.006, allocations: 5.563 MB / 1.631 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/4.006, allocations: 0 / 1.631 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/4.007, allocations: 307.6 kB / 1.632 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/4.008, allocations: 0.5479 MB / 1.632 GB, free: 22.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002053/4.009, allocations: 75.94 kB / 1.632 GB, free: 22.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/4.021, allocations: 14.34 MB / 1.646 GB, free: 6.695 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/4.021, allocations: 4.031 kB / 1.646 GB, free: 6.691 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009001/4.03, allocations: 4.263 MB / 1.65 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009257/4.031, allocations: 258.6 kB / 1.651 GB, free: 2.066 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/4.031, allocations: 44 kB / 1.651 GB, free: 2.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/4.032, allocations: 159.4 kB / 1.651 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004869/4.033, allocations: 189.7 kB / 1.651 GB, free: 1.684 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/4.033, allocations: 83.94 kB / 1.651 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001014/4.034, allocations: 0.6593 MB / 1.652 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.21e-07/4.034, allocations: 0 / 1.652 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004172/4.038, allocations: 0.9801 MB / 1.653 GB, free: 15.95 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) * 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.01222/4.051, allocations: 7.074 MB / 1.66 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00648/4.057, allocations: 3.336 MB / 1.663 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/4.057, allocations: 0 / 1.663 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004388/4.061, allocations: 2.705 MB / 1.666 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/4.065, allocations: 0.5027 MB / 1.666 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4454/4.51, allocations: 14.6 MB / 1.68 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/4.511, allocations: 1.547 MB / 1.682 GB, free: 69.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002033/4.513, allocations: 376.7 kB / 1.682 GB, free: 69.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/4.515, allocations: 0.8826 MB / 1.683 GB, free: 69.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.553e-06/4.515, allocations: 4.469 kB / 1.683 GB, free: 69.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1572/4.672, allocations: 74.4 MB / 1.756 GB, free: 65.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/4.672, allocations: 245.4 kB / 1.756 GB, free: 65.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.254/9.926, allocations: 0 / 1.756 GB, free: 65.39 MB / 0.6198 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat does not exist to compare? outputFormat=mat