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.001084/0.001084, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001236/0.001236, allocations: 168.7 kB / 15.95 MB, free: 204 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.579/1.579, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7422/0.7422, allocations: 89.66 MB / 380.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004218, allocations: 12.66 kB / 460.1 MB, free: 24.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1386, allocations: 68.84 MB / 0.5166 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.5588/0.6975, allocations: 217.6 MB / 0.7291 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04576/0.7433, allocations: 33.96 MB / 0.7623 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003831/0.7472, allocations: 47.81 kB / 0.7623 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005753/0.7529, allocations: 1.562 MB / 0.7638 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.7641, allocations: 2.765 MB / 0.7665 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00741/0.7716, allocations: 1.969 MB / 0.7685 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007228/0.7788, allocations: 4.986 MB / 0.7733 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.7806, allocations: 0.8246 MB / 0.7741 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003487/0.7841, allocations: 1.588 MB / 0.7757 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.7885, allocations: 2.356 MB / 0.778 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006792/0.7892, allocations: 132 kB / 0.7781 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01033/0.7995, allocations: 3.848 MB / 0.7819 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009375/0.8005, allocations: 0.5251 MB / 0.7824 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.8018, allocations: 0.551 MB / 0.7829 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00664/0.8085, allocations: 3.624 MB / 0.7865 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8085, allocations: 0 / 0.7865 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8085, allocations: 0 / 0.7865 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.11e-05/0.8086, allocations: 0 / 0.7865 GB, free: 6.629 MB / 0.5919 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.007235/0.8159, allocations: 3.166 MB / 0.7896 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.8159, allocations: 8.031 kB / 0.7896 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005446/0.8165, allocations: 316.5 kB / 0.7899 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.817, allocations: 296.5 kB / 0.7901 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.8193, allocations: 1.35 MB / 0.7915 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.8194, allocations: 168.5 kB / 0.7916 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.8197, allocations: 235.8 kB / 0.7919 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004743/0.8245, allocations: 2.802 MB / 0.7946 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.8246, allocations: 0 / 0.7946 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/0.8248, allocations: 88 kB / 0.7947 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.682e-05/0.8249, allocations: 69 kB / 0.7947 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004384/0.8292, allocations: 2.785 MB / 0.7975 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4223/1.252, allocations: 11.93 MB / 0.8091 GB, free: 40.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/1.256, allocations: 2.281 MB / 0.8113 GB, free: 40.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/1.258, allocations: 1.325 MB / 0.8126 GB, free: 40.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/1.269, allocations: 8.736 MB / 0.8212 GB, free: 34.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/1.269, allocations: 63.72 kB / 0.8212 GB, free: 34.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 4.178e-06/1.269, allocations: 3.547 kB / 0.8212 GB, free: 34.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.01593/1.285, allocations: 8.998 MB / 0.83 GB, free: 31.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/1.285, allocations: 155.8 kB / 0.8302 GB, free: 31.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/1.287, allocations: 1.417 MB / 0.8315 GB, free: 31.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/1.287, allocations: 66.73 kB / 0.8316 GB, free: 31.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005662/1.287, allocations: 0.9288 MB / 0.8325 GB, free: 31.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005575/1.288, allocations: 0.7701 MB / 0.8333 GB, free: 30.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/1.288, allocations: 40.5 kB / 0.8333 GB, free: 30.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.288, allocations: 386.6 kB / 0.8337 GB, free: 30.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/1.29, allocations: 0.888 MB / 0.8345 GB, free: 30.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/1.291, allocations: 1.195 MB / 0.8357 GB, free: 29.98 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.04436/1.336, allocations: 10.35 MB / 0.8458 GB, free: 29.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/1.336, allocations: 3.25 kB / 0.8458 GB, free: 29.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006858/1.342, allocations: 3.19 MB / 0.8489 GB, free: 29.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/1.343, allocations: 13.91 kB / 0.8489 GB, free: 29.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/1.343, allocations: 10.56 kB / 0.8489 GB, free: 29.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002816/1.345, allocations: 0.8376 MB / 0.8498 GB, free: 28.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/1.347, allocations: 377.2 kB / 0.8501 GB, free: 28.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/1.361, allocations: 11.11 MB / 0.861 GB, free: 23.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/1.364, allocations: 136.9 kB / 0.8611 GB, free: 23.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/1.364, allocations: 94.14 kB / 0.8612 GB, free: 23.54 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: 31 * 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.001239/1.366, allocations: 480.4 kB / 0.8617 GB, free: 23.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007299/1.366, allocations: 202.4 kB / 0.8619 GB, free: 23.31 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007197/1.374, allocations: 4.092 MB / 0.8658 GB, free: 22.87 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.707e-05/1.374, allocations: 26.34 kB / 0.8659 GB, free: 22.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/1.374, allocations: 9.906 kB / 0.8659 GB, free: 22.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/1.374, allocations: 13.97 kB / 0.8659 GB, free: 22.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/1.385, allocations: 6.457 MB / 0.8722 GB, free: 22.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.385, allocations: 4 kB / 0.8722 GB, free: 22.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/1.386, allocations: 351.6 kB / 0.8725 GB, free: 22.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002357/1.389, allocations: 0.7075 MB / 0.8732 GB, free: 21.95 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/1.389, allocations: 86.23 kB / 0.8733 GB, free: 21.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/1.399, allocations: 9.585 MB / 0.8827 GB, free: 16.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.399, allocations: 7.812 kB / 0.8827 GB, free: 16.53 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00748/1.407, allocations: 4.826 MB / 0.8874 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009796/1.408, allocations: 324.2 kB / 0.8877 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/1.408, allocations: 63.47 kB / 0.8878 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.409, allocations: 129.5 kB / 0.8879 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004139/1.41, allocations: 203.5 kB / 0.8881 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/1.41, allocations: 89.08 kB / 0.8882 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001381/1.411, allocations: 1.05 MB / 0.8892 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.411, allocations: 0 / 0.8892 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004103/1.415, allocations: 1.217 MB / 0.8904 GB, free: 15.25 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.008831/1.424, allocations: 6.734 MB / 0.897 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005124/1.429, allocations: 3.179 MB / 0.9001 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.429, allocations: 0 / 0.9001 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/1.433, allocations: 2.145 MB / 0.9022 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003915/1.437, allocations: 0.7496 MB / 0.9029 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/1.464, allocations: 16.01 MB / 0.9185 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/1.466, allocations: 1.649 MB / 0.9201 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002521/1.468, allocations: 0.5754 MB / 0.9207 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/1.469, allocations: 1.031 MB / 0.9217 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of SimCode: time 3.456e-06/1.469, allocations: 0 / 0.9217 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/1.617, allocations: 78.58 MB / 0.9984 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/1.617, allocations: 215.5 kB / 0.9986 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.437/6.054, allocations: 0 / 0.9986 GB, free: 7.633 MB / 0.7012 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