Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction.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.TestJunction,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestJunction",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.004725/0.004725, allocations: 169.5 kB / 15.13 MB, free: 6.027 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.345/1.345, allocations: 205.4 MB / 221.3 MB, free: 13.72 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.0007317/0.0007318, allocations: 86.31 kB / 269.6 MB, free: 13.26 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.6993/0.6993, allocations: 90.59 MB / 408.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003144, allocations: 8 kB / 485.4 MB, free: 1.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3537, allocations: 66.27 MB / 0.5387 GB, free: 45.06 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.2127/0.5665, allocations: 216.9 MB / 0.7505 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3149/0.8814, allocations: 33.7 MB / 0.7834 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003031/0.8845, allocations: 42.84 kB / 0.7834 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.005414/0.8899, allocations: 1.54 MB / 0.7849 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009563/0.8995, allocations: 2.665 MB / 0.7875 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007298/0.9069, allocations: 1.949 MB / 0.7894 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007338/0.9142, allocations: 4.723 MB / 0.7941 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.9162, allocations: 0.8147 MB / 0.7949 GB, free: 21.26 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00419/0.9204, allocations: 1.47 MB / 0.7963 GB, free: 21.25 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004921/0.9254, allocations: 2.225 MB / 0.7985 GB, free: 21.25 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0008196/0.9262, allocations: 122.4 kB / 0.7986 GB, free: 21.25 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01439/0.9406, allocations: 3.954 MB / 0.8024 GB, free: 21.16 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.942, allocations: 492.8 kB / 0.8029 GB, free: 21.15 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.9438, allocations: 0.5103 MB / 0.8034 GB, free: 21.12 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.006965/0.9508, allocations: 3.477 MB / 0.8068 GB, free: 20.82 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9508, allocations: 0 / 0.8068 GB, free: 20.82 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.997e-06/0.9508, allocations: 0 / 0.8068 GB, free: 20.82 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.258e-05/0.9509, allocations: 2.625 kB / 0.8068 GB, free: 20.82 MB / 0.573 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.006657/0.9576, allocations: 2.905 MB / 0.8096 GB, free: 19.48 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.9577, allocations: 11.77 kB / 0.8097 GB, free: 19.48 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006677/0.9583, allocations: 317.7 kB / 0.81 GB, free: 19.43 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005015/0.9588, allocations: 265.9 kB / 0.8102 GB, free: 19.3 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/0.9607, allocations: 1.132 MB / 0.8113 GB, free: 18.93 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.9608, allocations: 171.8 kB / 0.8115 GB, free: 18.93 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.9611, allocations: 239.2 kB / 0.8117 GB, free: 18.92 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004116/0.9652, allocations: 2.778 MB / 0.8144 GB, free: 18.75 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.9653, allocations: 0 / 0.8144 GB, free: 18.75 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.9655, allocations: 91.44 kB / 0.8145 GB, free: 18.75 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.257e-05/0.9656, allocations: 73.59 kB / 0.8146 GB, free: 18.75 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004056/0.9696, allocations: 2.802 MB / 0.8173 GB, free: 18.74 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.9837, allocations: 11.93 MB / 0.829 GB, free: 10.54 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/0.9873, allocations: 2.664 MB / 0.8316 GB, free: 10.13 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.989, allocations: 1.421 MB / 0.833 GB, free: 9.934 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/1, allocations: 8.336 MB / 0.8411 GB, free: 3.598 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.205e-05/1, allocations: 58.11 kB / 0.8412 GB, free: 3.559 MB / 0.573 GB Notification: Performance of pre-optimization done (n=239): time 7.604e-06/1, allocations: 0 / 0.8412 GB, free: 3.559 MB / 0.573 GB Notification: Performance of matching and sorting (n=243): time 0.01596/1.016, allocations: 9.211 MB / 0.8501 GB, free: 8 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/1.017, allocations: 160.2 kB / 0.8503 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/1.018, allocations: 0.9174 MB / 0.8512 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/1.018, allocations: 64.58 kB / 0.8513 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000461/1.018, allocations: 0.7843 MB / 0.852 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006188/1.019, allocations: 0.8143 MB / 0.8528 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/1.019, allocations: 42.56 kB / 0.8529 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.019, allocations: 390.7 kB / 0.8532 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/1.021, allocations: 0.9603 MB / 0.8542 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/1.022, allocations: 1.271 MB / 0.8554 GB, free: 12.35 MB / 0.5886 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.05034/1.073, allocations: 10.81 MB / 0.866 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/1.073, allocations: 4 kB / 0.866 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.006233/1.079, allocations: 3.319 MB / 0.8692 GB, free: 392 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/1.079, allocations: 12.03 kB / 0.8692 GB, free: 380 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/1.079, allocations: 9.25 kB / 0.8692 GB, free: 372 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/1.081, allocations: 0.8195 MB / 0.87 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.083, allocations: 369.2 kB / 0.8704 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/1.099, allocations: 11.11 MB / 0.8812 GB, free: 6.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/1.101, allocations: 145.2 kB / 0.8814 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/1.102, allocations: 96.41 kB / 0.8815 GB, free: 6.004 MB / 0.6042 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: 29 * 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 (205): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001012/1.103, allocations: 459.4 kB / 0.8819 GB, free: 5.734 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/1.103, allocations: 173.8 kB / 0.8821 GB, free: 5.562 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007165/1.11, allocations: 3.953 MB / 0.8859 GB, free: 3.039 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.348e-05/1.11, allocations: 31 kB / 0.886 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.23e-05/1.11, allocations: 13.31 kB / 0.886 GB, free: 3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.392e-05/1.11, allocations: 19.94 kB / 0.886 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/1.122, allocations: 6.745 MB / 0.8926 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/1.122, allocations: 0 / 0.8926 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/1.124, allocations: 389.9 kB / 0.893 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/1.126, allocations: 0.6974 MB / 0.8936 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002616/1.126, allocations: 90.94 kB / 0.8937 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/1.137, allocations: 9.567 MB / 0.9031 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.137, allocations: 8.297 kB / 0.9031 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/1.148, allocations: 5.249 MB / 0.9082 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000734/1.148, allocations: 251.6 kB / 0.9084 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005416/1.149, allocations: 57.06 kB / 0.9085 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/1.151, allocations: 151.6 kB / 0.9086 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000538/1.151, allocations: 222 kB / 0.9088 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003397/1.152, allocations: 94.52 kB / 0.9089 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009627/1.153, allocations: 0.6276 MB / 0.9096 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.5e-07/1.153, allocations: 0 / 0.9096 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004597/1.157, allocations: 1.209 MB / 0.9107 GB, free: 15.62 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (220): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01076/1.168, allocations: 7.181 MB / 0.9177 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005673/1.174, allocations: 3.509 MB / 0.9212 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.174, allocations: 0 / 0.9212 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003773/1.178, allocations: 2.402 MB / 0.9235 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003517/1.181, allocations: 0.5947 MB / 0.9241 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/1.203, allocations: 14.1 MB / 0.9379 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.205, allocations: 1.586 MB / 0.9394 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002093/1.207, allocations: 0.5357 MB / 0.9399 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/1.208, allocations: 0.9195 MB / 0.9408 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of SimCode: time 1.773e-06/1.208, allocations: 0 / 0.9408 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3357/1.543, allocations: 72.35 MB / 1.011 GB, free: 314.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/1.544, allocations: 234.1 kB / 1.012 GB, free: 313.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.187/5.731, allocations: 0 / 1.012 GB, free: 313.9 MB / 0.7136 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestJunction.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction_res.mat does not exist to compare? outputFormat=mat