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.0009474/0.0009474, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008076/0.0008081, allocations: 88.61 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6636/0.6636, allocations: 90.36 MB / 399.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.449e-05, allocations: 4 kB / 472.3 MB, free: 3.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.34, allocations: 66.26 MB / 0.5259 GB, free: 29.1 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.376, allocations: 444.7 MB / 0.9602 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.376, allocations: 93.88 kB / 0.9603 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.858/3.234, allocations: 0.5839 GB / 1.544 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/3.234, allocations: 0 / 1.544 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002962/3.234, allocations: 67.38 kB / 1.544 GB, free: 64.15 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.009425/3.244, allocations: 2.792 MB / 1.547 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/3.244, allocations: 11 kB / 1.547 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/3.245, allocations: 290 kB / 1.547 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/3.248, allocations: 1.152 MB / 1.548 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/3.249, allocations: 70.44 kB / 1.548 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008901/3.25, allocations: 143.2 kB / 1.549 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004127/3.254, allocations: 2.085 MB / 1.551 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003408/3.257, allocations: 2.109 MB / 1.553 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/3.257, allocations: 0 / 1.553 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/3.257, allocations: 0 / 1.553 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.6e-05/3.257, allocations: 61.67 kB / 1.553 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/3.27, allocations: 11.72 MB / 1.564 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/3.272, allocations: 2.405 MB / 1.567 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/3.274, allocations: 0.9943 MB / 1.567 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0081/3.282, allocations: 6.547 MB / 1.574 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/3.283, allocations: 1.083 MB / 1.575 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=211): time 4.678e-06/3.283, allocations: 0 / 1.575 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=212): time 0.01193/3.295, allocations: 4.57 MB / 1.579 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/3.295, allocations: 99.2 kB / 1.579 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/3.296, allocations: 0.6646 MB / 1.58 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001757/3.296, allocations: 25.7 kB / 1.58 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005168/3.297, allocations: 0.7899 MB / 1.581 GB, free: 32.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004863/3.297, allocations: 0.6849 MB / 1.582 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/3.298, allocations: 4 kB / 1.582 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/3.298, allocations: 375.1 kB / 1.582 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009899/3.299, allocations: 0.7069 MB / 1.583 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/3.3, allocations: 0.8838 MB / 1.584 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00381/3.303, allocations: 1.221 MB / 1.585 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/3.303, allocations: 8 kB / 1.585 GB, free: 28.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006746/3.31, allocations: 2.789 MB / 1.587 GB, free: 25.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/3.31, allocations: 37.69 kB / 1.587 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/3.31, allocations: 4 kB / 1.587 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/3.312, allocations: 0.5974 MB / 1.588 GB, free: 24.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/3.313, allocations: 283.6 kB / 1.588 GB, free: 24.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008655/3.322, allocations: 11.32 MB / 1.599 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/3.324, allocations: 139 kB / 1.6 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003086/3.324, allocations: 87.94 kB / 1.6 GB, free: 12.16 MB / 0.6042 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.0004674/3.325, allocations: 151.1 kB / 1.6 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007104/3.332, allocations: 2.722 MB / 1.602 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004959/3.332, allocations: 154.1 kB / 1.603 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007721/3.34, allocations: 3.286 MB / 1.606 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-05/3.34, allocations: 28 kB / 1.606 GB, free: 5.805 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/3.34, allocations: 8 kB / 1.606 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.098e-05/3.34, allocations: 19.89 kB / 1.606 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/3.351, allocations: 5.401 MB / 1.611 GB, free: 352 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/3.351, allocations: 0 / 1.611 GB, free: 352 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/3.352, allocations: 311.7 kB / 1.611 GB, free: 40 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3907/3.743, allocations: 0.5207 MB / 1.612 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000555/3.743, allocations: 58.72 kB / 1.612 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/3.754, allocations: 13.67 MB / 1.625 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/3.754, allocations: 3.938 kB / 1.625 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/3.764, allocations: 4.24 MB / 1.629 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007828/3.765, allocations: 245.3 kB / 1.63 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/3.765, allocations: 12.61 kB / 1.63 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/3.766, allocations: 114.7 kB / 1.63 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004964/3.767, allocations: 195.8 kB / 1.63 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/3.767, allocations: 83.5 kB / 1.63 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000652/3.768, allocations: 0.5105 MB / 1.631 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/3.768, allocations: 1.969 kB / 1.631 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003486/3.771, allocations: 0.9028 MB / 1.631 GB, free: 53.02 MB / 0.6042 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.01251/3.784, allocations: 7.099 MB / 1.638 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005494/3.789, allocations: 3.076 MB / 1.641 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/3.789, allocations: 3.156 kB / 1.641 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003317/3.793, allocations: 2.525 MB / 1.644 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/3.795, allocations: 442.7 kB / 1.644 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008406/3.804, allocations: 3.873 MB / 1.648 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/3.805, allocations: 1.545 MB / 1.65 GB, free: 47 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00168/3.807, allocations: 371.5 kB / 1.65 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/3.808, allocations: 0.8621 MB / 1.651 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of SimCode: time 2.515e-06/3.808, allocations: 0 / 1.651 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09694/3.905, allocations: 62.21 MB / 1.712 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/3.905, allocations: 170.9 kB / 1.712 GB, free: 42.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.028/7.933, allocations: 0 / 1.712 GB, free: 42.43 MB / 0.6042 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