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: translateModel(ThermofluidStream.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008853/0.0008854, allocations: 171.6 kB / 16.11 MB, free: 5.688 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.187/1.187, allocations: 205 MB / 221.9 MB, free: 9.055 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.0007474/0.0007474, allocations: 97.39 kB / 269.9 MB, free: 8.656 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.5977/0.5977, allocations: 90.51 MB / 408.3 MB, free: 3.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 8.219 kB / 484.9 MB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2435, allocations: 65.8 MB / 0.5378 GB, free: 35.05 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.3979/0.6414, allocations: 232.1 MB / 0.7644 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0331/0.6746, allocations: 36.18 MB / 0.7997 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.6776, allocations: 46.22 kB / 0.7998 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003963/0.6815, allocations: 1.603 MB / 0.8014 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006562/0.6881, allocations: 2.565 MB / 0.8039 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00636/0.6945, allocations: 2.324 MB / 0.8061 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.007507/0.702, allocations: 5.409 MB / 0.8114 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.7038, allocations: 0.8891 MB / 0.8123 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002833/0.7067, allocations: 1.553 MB / 0.8138 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003216/0.7099, allocations: 2.289 MB / 0.816 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005821/0.7105, allocations: 120 kB / 0.8161 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009605/0.7201, allocations: 4.55 MB / 0.8206 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0008304/0.721, allocations: 0.5018 MB / 0.8211 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.7233, allocations: 1.271 MB / 0.8223 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.009802/0.7331, allocations: 4.861 MB / 0.8271 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7332, allocations: 0 / 0.8271 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7332, allocations: 0 / 0.8271 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000119/0.7333, allocations: 0 / 0.8271 GB, free: 10.69 MB / 0.5417 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.006239/0.7396, allocations: 2.885 MB / 0.8299 GB, free: 7.742 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.7396, allocations: 15.91 kB / 0.8299 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000732/0.7403, allocations: 265.8 kB / 0.8302 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.7421, allocations: 1.181 MB / 0.8313 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.7423, allocations: 164.8 kB / 0.8315 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004318/0.7427, allocations: 236.2 kB / 0.8317 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004518/0.7472, allocations: 2.805 MB / 0.8344 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.7473, allocations: 0 / 0.8344 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.7475, allocations: 88 kB / 0.8345 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.815e-05/0.7476, allocations: 68.98 kB / 0.8346 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004222/0.7518, allocations: 2.816 MB / 0.8373 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/0.7645, allocations: 11.94 MB / 0.849 GB, free: 2.875 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003834/0.7683, allocations: 2.672 MB / 0.8516 GB, free: 160 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/0.7702, allocations: 1.425 MB / 0.853 GB, free: 14.72 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008594/0.7788, allocations: 8.337 MB / 0.8611 GB, free: 5.457 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.7788, allocations: 60.55 kB / 0.8612 GB, free: 5.391 MB / 0.573 GB Notification: Performance of pre-optimization done (n=239): time 4.268e-06/0.7788, allocations: 0 / 0.8612 GB, free: 5.391 MB / 0.573 GB Notification: Performance of matching and sorting (n=243): time 0.01503/0.7939, allocations: 9.242 MB / 0.8702 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.794, allocations: 154.3 kB / 0.8704 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.795, allocations: 0.937 MB / 0.8713 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.7951, allocations: 65.7 kB / 0.8713 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000452/0.7956, allocations: 0.7898 MB / 0.8721 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005308/0.7961, allocations: 0.8123 MB / 0.8729 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.7962, allocations: 40 kB / 0.8729 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7964, allocations: 394.2 kB / 0.8733 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.7979, allocations: 0.9686 MB / 0.8743 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.7996, allocations: 1.273 MB / 0.8755 GB, free: 6.184 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: flowResistance4.m_flow = flowResistance4.m_flow_0 (flowResistance7.m_flow_0 - flowResistance5.m_flow_0 = flowResistance4.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: flowResistance10.m_flow = flowResistance10.m_flow_0 (flowResistance6.m_flow_0 - flowResistance11.m_flow_0 = flowResistance10.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: flowResistance8.m_flow = flowResistance8.m_flow_0 (flowResistance3.m_flow_0 - flowResistance9.m_flow_0 = flowResistance8.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: flowResistance.m_flow = flowResistance.m_flow_0 (flowResistance2.m_flow_0 - flowResistance1.m_flow_0 = flowResistance.m_flow_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.04942/0.849, allocations: 13.16 MB / 0.8884 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.849, allocations: 4 kB / 0.8884 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.005931/0.855, allocations: 3.34 MB / 0.8916 GB, free: 5.488 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.855, allocations: 8.781 kB / 0.8916 GB, free: 5.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.855, allocations: 8 kB / 0.8916 GB, free: 5.473 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/0.8572, allocations: 0.8228 MB / 0.8924 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.8585, allocations: 371.5 kB / 0.8928 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/0.8734, allocations: 11.14 MB / 0.9037 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.875, allocations: 151.5 kB / 0.9038 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.8752, allocations: 91.97 kB / 0.9039 GB, free: 8.367 MB / 0.6198 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: flowResistance4.m_flow = flowResistance4.m_flow_0 flowResistance10.m_flow = flowResistance10.m_flow_0 flowResistance8.m_flow = flowResistance8.m_flow_0 flowResistance.m_flow = flowResistance.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,9,77.8%), (3,22,77.8%), (3,19,77.8%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008162/0.8761, allocations: 461.7 kB / 0.9043 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/0.8765, allocations: 169.9 kB / 0.9045 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006904/0.8834, allocations: 3.945 MB / 0.9084 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.794e-05/0.8834, allocations: 11.95 kB / 0.9084 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.8834, allocations: 8 kB / 0.9084 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.8838, allocations: 242.7 kB / 0.9086 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.8841, allocations: 60 kB / 0.9087 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.8852, allocations: 147.5 kB / 0.9088 GB, free: 3.355 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.8856, allocations: 242.5 kB / 0.909 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007256/0.8928, allocations: 3.943 MB / 0.9129 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006436/0.8993, allocations: 4.868 MB / 0.9176 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001763/0.9011, allocations: 1.367 MB / 0.919 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007638/0.9018, allocations: 0.6331 MB / 0.9196 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of Backend: time 3.91e-07/0.9018, allocations: 0 / 0.9196 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007218/0.9091, allocations: 4.207 MB / 0.9237 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of SimCode: time 0.1875/1.097, allocations: 5.798 MB / 0.9294 GB, free: 267.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.06483/1.161, allocations: 56.79 MB / 0.9848 GB, free: 230.3 MB / 0.6355 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction.makefile (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 & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe 2>&1)