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 (/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: 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_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_ThermofluidStream.Undirected.Topology.Tests.TestJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 109.5 kB / 16.42 MB, free: 6.512 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.001109/0.001109, allocations: 187.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6873/0.6873, allocations: 91.18 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 76.06 kB / 0.5175 GB, free: 4.082 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2752, allocations: 67.69 MB / 0.5836 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.5042/0.7794, allocations: 235.9 MB / 0.8141 GB, free: 100 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03552/0.815, allocations: 36.59 MB / 0.8498 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003354/0.8184, allocations: 97.69 kB / 0.8499 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004686/0.8231, allocations: 1.848 MB / 0.8517 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008826/0.832, allocations: 3.053 MB / 0.8547 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008273/0.8403, allocations: 2.729 MB / 0.8573 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006735/0.8471, allocations: 4.945 MB / 0.8622 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.8491, allocations: 1.084 MB / 0.8632 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004116/0.8533, allocations: 2.14 MB / 0.8653 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004456/0.8577, allocations: 2.659 MB / 0.8679 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.8588, allocations: 304 kB / 0.8682 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/0.8701, allocations: 4.496 MB / 0.8726 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.8715, allocations: 0.7667 MB / 0.8733 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004535/0.8761, allocations: 1.718 MB / 0.875 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.8899, allocations: 5.574 MB / 0.8805 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8899, allocations: 0 / 0.8805 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.195e-06/0.8899, allocations: 0 / 0.8805 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001795/0.8901, allocations: 0 / 0.8805 GB, free: 8.559 MB / 0.6231 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.01094/0.9011, allocations: 3.99 MB / 0.8844 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.9011, allocations: 8.031 kB / 0.8844 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.9022, allocations: 347.8 kB / 0.8847 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004388/0.9066, allocations: 1.995 MB / 0.8866 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.9068, allocations: 164.5 kB / 0.8868 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005572/0.9074, allocations: 239.8 kB / 0.887 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005489/0.9129, allocations: 2.814 MB / 0.8898 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.327e-05/0.9129, allocations: 7.938 kB / 0.8898 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.9132, allocations: 84 kB / 0.8899 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.153e-05/0.9133, allocations: 80.97 kB / 0.8899 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004427/0.9177, allocations: 2.796 MB / 0.8927 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/0.9334, allocations: 12 MB / 0.9044 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003831/0.9373, allocations: 2.299 MB / 0.9066 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001877/0.9392, allocations: 1.337 MB / 0.9079 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.9497, allocations: 8.717 MB / 0.9164 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.9498, allocations: 64.06 kB / 0.9165 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=225): time 3.927e-06/0.9498, allocations: 0 / 0.9165 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=229): time 0.01672/0.9665, allocations: 9.338 MB / 0.9256 GB, free: 7.539 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.9667, allocations: 158.2 kB / 0.9258 GB, free: 7.352 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.9689, allocations: 1.791 MB / 0.9275 GB, free: 5.531 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.9691, allocations: 69.7 kB / 0.9276 GB, free: 5.457 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007693/0.9699, allocations: 1.108 MB / 0.9287 GB, free: 4.336 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005848/0.9705, allocations: 0.7777 MB / 0.9294 GB, free: 3.547 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/0.9711, allocations: 371.7 kB / 0.9298 GB, free: 3.176 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.9712, allocations: 301.1 kB / 0.9301 GB, free: 2.879 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.9726, allocations: 0.8943 MB / 0.9309 GB, free: 1.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.9744, allocations: 1.204 MB / 0.9321 GB, free: 0.6719 MB / 0.67 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.0521/1.026, allocations: 11.43 MB / 0.9433 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.027, allocations: 8 kB / 0.9433 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006748/1.033, allocations: 3.253 MB / 0.9465 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.033, allocations: 8 kB / 0.9465 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/1.033, allocations: 8 kB / 0.9465 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002675/1.036, allocations: 0.8387 MB / 0.9473 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/1.037, allocations: 371.5 kB / 0.9477 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/1.056, allocations: 11.91 MB / 0.9593 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/1.057, allocations: 64.02 kB / 0.9594 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000342/1.058, allocations: 95.95 kB / 0.9594 GB, free: 3.934 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: 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: 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 (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.001118/1.059, allocations: 489.4 kB / 0.9599 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007281/1.06, allocations: 256.8 kB / 0.9602 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007894/1.068, allocations: 4.103 MB / 0.9642 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/1.068, allocations: 15.95 kB / 0.9642 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.068, allocations: 3.938 kB / 0.9642 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/1.068, allocations: 321.7 kB / 0.9645 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/1.069, allocations: 55.94 kB / 0.9645 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.07, allocations: 63.95 kB / 0.9646 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003939/1.07, allocations: 213.4 kB / 0.9648 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007738/1.078, allocations: 3.568 MB / 0.9683 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006521/1.085, allocations: 4.453 MB / 0.9726 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001684/1.086, allocations: 1.185 MB / 0.9738 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001875/1.088, allocations: 1.292 MB / 0.9751 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of Backend: time 4.6e-07/1.088, allocations: 0 / 0.9751 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007967/1.096, allocations: 3.887 MB / 0.9789 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of SimCode: time 0.009243/1.106, allocations: 5.894 MB / 0.9846 GB, free: 10 MB / 0.7325 GB Notification: Performance of Templates: time 0.3501/1.456, allocations: 65.49 MB / 1.049 GB, free: 313.3 MB / 0.7637 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.makefile (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 & ./ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe 2>&1)