Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.conf.json 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/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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009919/0.000992, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7088/0.7088, allocations: 89.63 MB / 380.6 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003705, allocations: 13.81 kB / 460 MB, free: 24.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 68.84 MB / 0.5165 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.5509/0.6877, allocations: 200.5 MB / 0.7123 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03631/0.724, allocations: 30.55 MB / 0.7421 GB, free: 2.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003552/0.7276, allocations: 51.81 kB / 0.7422 GB, free: 2.535 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00574/0.7334, allocations: 1.657 MB / 0.7438 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.7446, allocations: 2.886 MB / 0.7466 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008603/0.7533, allocations: 2.049 MB / 0.7486 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007055/0.7604, allocations: 3.028 MB / 0.7516 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.7621, allocations: 0.821 MB / 0.7524 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/0.7658, allocations: 1.487 MB / 0.7538 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004111/0.7699, allocations: 2.009 MB / 0.7558 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006377/0.7705, allocations: 136 kB / 0.7559 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/0.7818, allocations: 4.104 MB / 0.7599 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.783, allocations: 0.5059 MB / 0.7604 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.7843, allocations: 0.551 MB / 0.761 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007399/0.7917, allocations: 3.589 MB / 0.7645 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7917, allocations: 0 / 0.7645 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7917, allocations: 4 kB / 0.7645 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.728e-05/0.7918, allocations: 0 / 0.7645 GB, free: 11.63 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.007261/0.7991, allocations: 3.162 MB / 0.7676 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.7991, allocations: 8.031 kB / 0.7676 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000615/0.7998, allocations: 312.5 kB / 0.7679 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005209/0.8003, allocations: 292.5 kB / 0.7682 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.8027, allocations: 1.354 MB / 0.7695 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.8028, allocations: 168.5 kB / 0.7696 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003154/0.8031, allocations: 243.8 kB / 0.7699 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00409/0.8072, allocations: 2.782 MB / 0.7726 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/0.8073, allocations: 0 / 0.7726 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.8075, allocations: 88 kB / 0.7727 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-05/0.8076, allocations: 69 kB / 0.7727 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004307/0.8119, allocations: 2.789 MB / 0.7755 GB, free: 168 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.8268, allocations: 12.19 MB / 0.7874 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.8301, allocations: 2.275 MB / 0.7896 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009716/0.8398, allocations: 8.671 MB / 0.7981 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.8399, allocations: 60.16 kB / 0.7981 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=228): time 3.587e-06/0.8399, allocations: 0 / 0.7981 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=232): time 0.3328/1.173, allocations: 9.095 MB / 0.807 GB, free: 223.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/1.173, allocations: 161.3 kB / 0.8071 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003098/1.176, allocations: 1.412 MB / 0.8085 GB, free: 223.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004849/1.176, allocations: 64.52 kB / 0.8086 GB, free: 223.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008119/1.177, allocations: 0.9201 MB / 0.8095 GB, free: 223.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006727/1.178, allocations: 0.7797 MB / 0.8102 GB, free: 222.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.178, allocations: 46.88 kB / 0.8103 GB, free: 222.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.178, allocations: 388.5 kB / 0.8107 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/1.18, allocations: 0.9077 MB / 0.8115 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/1.182, allocations: 1.184 MB / 0.8127 GB, free: 221.1 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance5.m_flow = flowResistance5.m_flow_0 (flowResistance7.m_flow_0 - flowResistance4.m_flow_0 = flowResistance5.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance11.m_flow = flowResistance11.m_flow_0 (flowResistance6.m_flow_0 - flowResistance10.m_flow_0 = flowResistance11.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance9.m_flow = flowResistance9.m_flow_0 (flowResistance3.m_flow_0 - flowResistance8.m_flow_0 = flowResistance9.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance1.m_flow = flowResistance1.m_flow_0 (flowResistance2.m_flow_0 - flowResistance.m_flow_0 = flowResistance1.m_flow_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.04946/1.231, allocations: 11.06 MB / 0.8235 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/1.231, allocations: 4.594 kB / 0.8235 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008176/1.239, allocations: 3.217 MB / 0.8267 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/1.239, allocations: 8.031 kB / 0.8267 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/1.239, allocations: 6.688 kB / 0.8267 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/1.242, allocations: 0.842 MB / 0.8275 GB, free: 218.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.244, allocations: 369.9 kB / 0.8278 GB, free: 218 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/1.259, allocations: 11.34 MB / 0.8389 GB, free: 209 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/1.261, allocations: 138.8 kB / 0.8391 GB, free: 208.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000469/1.262, allocations: 91.11 kB / 0.8391 GB, free: 208.9 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: flowResistance5.m_flow = flowResistance5.m_flow_0 flowResistance11.m_flow = flowResistance11.m_flow_0 flowResistance9.m_flow = flowResistance9.m_flow_0 flowResistance1.m_flow = flowResistance1.m_flow_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,77.8%) 9,(3,77.8%) 22,(3,77.8%) 19,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001541/1.264, allocations: 461.6 kB / 0.8396 GB, free: 208.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008353/1.264, allocations: 200.4 kB / 0.8398 GB, free: 208.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007373/1.272, allocations: 4.263 MB / 0.8439 GB, free: 206 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/1.272, allocations: 27.61 kB / 0.844 GB, free: 205.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/1.272, allocations: 15.75 kB / 0.844 GB, free: 205.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/1.272, allocations: 11.95 kB / 0.844 GB, free: 205.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/1.283, allocations: 6.611 MB / 0.8504 GB, free: 201.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/1.283, allocations: 3.406 kB / 0.8504 GB, free: 201.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.284, allocations: 352.4 kB / 0.8508 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002146/1.286, allocations: 0.7169 MB / 0.8515 GB, free: 201.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/1.287, allocations: 81.02 kB / 0.8516 GB, free: 201.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009148/1.296, allocations: 9.781 MB / 0.8611 GB, free: 191.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.296, allocations: 7.938 kB / 0.8611 GB, free: 191.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007494/1.303, allocations: 5.147 MB / 0.8661 GB, free: 186 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.305, allocations: 346.2 kB / 0.8665 GB, free: 185.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007917/1.305, allocations: 52 kB / 0.8665 GB, free: 185.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/1.307, allocations: 143.6 kB / 0.8667 GB, free: 185.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004086/1.308, allocations: 205.6 kB / 0.8669 GB, free: 185.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/1.308, allocations: 87.94 kB / 0.8669 GB, free: 185.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00127/1.309, allocations: 1.05 MB / 0.868 GB, free: 184.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.22e-07/1.309, allocations: 0 / 0.868 GB, free: 184.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003975/1.313, allocations: 1.219 MB / 0.8692 GB, free: 183 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 8 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance9.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance11.inlet.m_flow,flowResistance6.inlet.m_flow,flowResistance5.inlet.m_flow,flowResistance7.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(3,77.8%) 19,(3,77.8%) 22,(3,77.8%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008566/1.322, allocations: 8.166 MB / 0.8771 GB, free: 174.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00478/1.327, allocations: 3.229 MB / 0.8803 GB, free: 171.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.327, allocations: 0 / 0.8803 GB, free: 171.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003029/1.33, allocations: 2.167 MB / 0.8824 GB, free: 169.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/1.333, allocations: 0.7107 MB / 0.8831 GB, free: 168.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02492/1.358, allocations: 20.05 MB / 0.9027 GB, free: 147.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.359, allocations: 1.706 MB / 0.9043 GB, free: 145.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002453/1.362, allocations: 0.5859 MB / 0.9049 GB, free: 145.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.363, allocations: 1.026 MB / 0.9059 GB, free: 144.2 MB / 0.6075 GB Notification: Performance of SimCode: time 8.32e-07/1.363, allocations: 0 / 0.9059 GB, free: 144.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/1.47, allocations: 78.49 MB / 0.9826 GB, free: 66.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/1.47, allocations: 210.1 kB / 0.9828 GB, free: 65.92 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.34/5.81, allocations: 0 / 0.9828 GB, free: 65.92 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Topology_Tests_TestJunction.fmu > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction_res.mat does not exist to compare? outputFormat=mat