Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 100.8 kB / 17.08 MB, free: 5.988 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.0009935/0.0009935, allocations: 199.3 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2007/0.2007, allocations: 43.54 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 59.91 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1128, allocations: 57.8 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.4598/0.5726, allocations: 206.8 MB / 0.6905 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.5888, allocations: 13.4 MB / 0.7036 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.5899, allocations: 31.81 kB / 0.7036 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.5911, allocations: 437.1 kB / 0.704 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006566/0.5976, allocations: 2.698 MB / 0.7066 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007347/0.605, allocations: 3.21 MB / 0.7098 GB, free: 7.941 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003663/0.6087, allocations: 2.888 MB / 0.7126 GB, free: 5.043 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.6098, allocations: 0.7619 MB / 0.7133 GB, free: 4.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.6116, allocations: 1.141 MB / 0.7145 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.6133, allocations: 1.231 MB / 0.7157 GB, free: 1.891 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.6135, allocations: 104 kB / 0.7158 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005298/0.6188, allocations: 2.973 MB / 0.7187 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004186/0.6192, allocations: 410.8 kB / 0.7191 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000652/0.6199, allocations: 0.5911 MB / 0.7196 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005069/0.6249, allocations: 3.351 MB / 0.7229 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.625, allocations: 0 / 0.7229 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.625, allocations: 0 / 0.7229 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.625, allocations: 0 / 0.7229 GB, free: 10.46 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003728/0.6287, allocations: 1.842 MB / 0.7247 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6288, allocations: 11.89 kB / 0.7247 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.6299, allocations: 206.5 kB / 0.7249 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.6311, allocations: 0.7962 MB / 0.7257 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.6311, allocations: 53.3 kB / 0.7257 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.6312, allocations: 67.91 kB / 0.7258 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.6329, allocations: 1.149 MB / 0.7269 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.633, allocations: 7.938 kB / 0.7269 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.6331, allocations: 27.98 kB / 0.727 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.6332, allocations: 89.23 kB / 0.727 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.635, allocations: 1.137 MB / 0.7282 GB, free: 4.938 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006763/0.6418, allocations: 4.392 MB / 0.7324 GB, free: 328 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.643, allocations: 0.7625 MB / 0.7332 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.6436, allocations: 370.4 kB / 0.7335 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.6449, allocations: 1.297 MB / 0.7348 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.6449, allocations: 47.06 kB / 0.7349 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003968/0.6453, allocations: 95.19 kB / 0.7349 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.745e-06/0.6454, allocations: 4 kB / 0.7349 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.005971/0.6513, allocations: 2.01 MB / 0.7369 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.6515, allocations: 214.2 kB / 0.7371 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.6525, allocations: 0.8806 MB / 0.738 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.6526, allocations: 37.7 kB / 0.738 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.6529, allocations: 451.8 kB / 0.7384 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.6531, allocations: 216.9 kB / 0.7386 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.6534, allocations: 198.5 kB / 0.7388 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6536, allocations: 337.9 kB / 0.7392 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/0.6543, allocations: 408.6 kB / 0.7395 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008985/0.6552, allocations: 0.6203 MB / 0.7402 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.6567, allocations: 0.9881 MB / 0.7411 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6567, allocations: 0 / 0.7411 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002283/0.659, allocations: 1.332 MB / 0.7424 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.659, allocations: 10.66 kB / 0.7424 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.6591, allocations: 4 kB / 0.7424 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004937/0.664, allocations: 0.8633 MB / 0.7433 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/0.6646, allocations: 155.8 kB / 0.7434 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.6663, allocations: 1.188 MB / 0.7446 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.667, allocations: 36.02 kB / 0.7446 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.6671, allocations: 77.34 kB / 0.7447 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009383/0.6681, allocations: 0.5759 MB / 0.7453 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008574/0.669, allocations: 0.5916 MB / 0.7458 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001492/0.6705, allocations: 0.9344 MB / 0.7467 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/0.6705, allocations: 0 / 0.7467 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002484/0.673, allocations: 1.229 MB / 0.7479 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.673, allocations: 16.03 kB / 0.748 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.673, allocations: 4 kB / 0.748 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006385/0.6737, allocations: 168.7 kB / 0.7481 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007128/0.6744, allocations: 195.9 kB / 0.7483 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.6771, allocations: 2.337 MB / 0.7506 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006844/0.6778, allocations: 51.89 kB / 0.7506 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.6779, allocations: 67.98 kB / 0.7507 GB, free: 12.71 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002727/0.6782, allocations: 228 kB / 0.7509 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.6784, allocations: 102.8 kB / 0.751 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/0.6811, allocations: 1.369 MB / 0.7524 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6811, allocations: 3.984 kB / 0.7524 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.6811, allocations: 3.984 kB / 0.7524 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.6814, allocations: 171.8 kB / 0.7525 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.6815, allocations: 12 kB / 0.7525 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/0.682, allocations: 35.91 kB / 0.7526 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.6822, allocations: 44.5 kB / 0.7526 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002643/0.6848, allocations: 1.194 MB / 0.7538 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002144/0.687, allocations: 1.421 MB / 0.7552 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005802/0.6876, allocations: 360.2 kB / 0.7555 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008316/0.6884, allocations: 0.6245 MB / 0.7561 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of Backend: time 3.61e-07/0.6884, allocations: 4 kB / 0.7561 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005552/0.694, allocations: 2.292 MB / 0.7584 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003896/0.6979, allocations: 2.493 MB / 0.7608 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of Templates: time 0.2747/0.9726, allocations: 37.96 MB / 0.7979 GB, free: 212.2 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1)