Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(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_4.0.0_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_4.0.0_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.001534/0.001534, allocations: 108.9 kB / 18.45 MB, free: 4.598 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.001412/0.001412, allocations: 183 kB / 19.39 MB, free: 3.672 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.392/1.392, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2148/0.2148, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3689, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.2192/0.5881, allocations: 197.4 MB / 0.7123 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3893/0.9775, allocations: 10.95 MB / 0.723 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.9788, allocations: 35.66 kB / 0.723 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.98, allocations: 435.6 kB / 0.7234 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005625/0.9856, allocations: 2.294 MB / 0.7257 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008029/0.9937, allocations: 3.224 MB / 0.7288 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004468/0.9982, allocations: 2.886 MB / 0.7317 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.9993, allocations: 0.7755 MB / 0.7324 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/1.002, allocations: 1.153 MB / 0.7335 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/1.004, allocations: 1.238 MB / 0.7347 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002091/1.004, allocations: 104.4 kB / 0.7348 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004929/1.009, allocations: 2.595 MB / 0.7374 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000532/1.009, allocations: 399.8 kB / 0.7378 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000946/1.01, allocations: 0.5878 MB / 0.7383 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007201/1.018, allocations: 3.153 MB / 0.7414 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.018, allocations: 0 / 0.7414 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.535e-06/1.018, allocations: 1.031 kB / 0.7414 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.102e-05/1.018, allocations: 2.344 kB / 0.7414 GB, free: 1.496 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.004337/1.022, allocations: 1.822 MB / 0.7432 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.022, allocations: 8.438 kB / 0.7432 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/1.023, allocations: 208.6 kB / 0.7434 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/1.025, allocations: 0.7927 MB / 0.7442 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/1.025, allocations: 55.11 kB / 0.7442 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.025, allocations: 60.88 kB / 0.7443 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/1.027, allocations: 1.162 MB / 0.7454 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/1.027, allocations: 5.031 kB / 0.7454 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.027, allocations: 28.44 kB / 0.7455 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/1.027, allocations: 89.97 kB / 0.7455 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/1.029, allocations: 1.143 MB / 0.7467 GB, free: 15.98 MB / 0.5762 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.00721/1.036, allocations: 4.356 MB / 0.7509 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/1.037, allocations: 0.7657 MB / 0.7517 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/1.038, allocations: 374.9 kB / 0.752 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/1.038, allocations: 355.4 kB / 0.7524 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/1.038, allocations: 44.25 kB / 0.7524 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005077/1.039, allocations: 106.4 kB / 0.7525 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.327e-06/1.039, allocations: 0.8125 kB / 0.7525 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007371/1.046, allocations: 2.034 MB / 0.7545 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/1.047, allocations: 216.2 kB / 0.7547 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/1.048, allocations: 0.8907 MB / 0.7556 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/1.048, allocations: 42.27 kB / 0.7556 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/1.049, allocations: 453.4 kB / 0.756 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/1.049, allocations: 228.3 kB / 0.7563 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/1.049, allocations: 194.1 kB / 0.7564 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.049, allocations: 341.8 kB / 0.7568 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007005/1.05, allocations: 410.1 kB / 0.7572 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009036/1.051, allocations: 0.6147 MB / 0.7578 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/1.052, allocations: 0.9888 MB / 0.7587 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.052, allocations: 0 / 0.7587 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002437/1.055, allocations: 1.351 MB / 0.76 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.055, allocations: 8.688 kB / 0.7601 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.055, allocations: 6.781 kB / 0.7601 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004741/1.06, allocations: 0.841 MB / 0.7609 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/1.06, allocations: 163.2 kB / 0.761 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/1.062, allocations: 1.2 MB / 0.7622 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.063, allocations: 40.73 kB / 0.7622 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/1.063, allocations: 76.23 kB / 0.7623 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001006/1.064, allocations: 0.5714 MB / 0.7629 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008638/1.065, allocations: 0.5976 MB / 0.7635 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001543/1.067, allocations: 0.9347 MB / 0.7644 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/1.067, allocations: 2.406 kB / 0.7644 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.00272/1.069, allocations: 1.237 MB / 0.7656 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.069, allocations: 8.438 kB / 0.7656 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.069, allocations: 5.281 kB / 0.7656 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000651/1.07, allocations: 172.9 kB / 0.7658 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/1.071, allocations: 202.5 kB / 0.766 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/1.074, allocations: 2.33 MB / 0.7682 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/1.075, allocations: 46.62 kB / 0.7683 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.075, allocations: 69.98 kB / 0.7683 GB, free: 9.207 MB / 0.5762 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.0004012/1.075, allocations: 243.7 kB / 0.7686 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/1.075, allocations: 104.5 kB / 0.7687 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/1.079, allocations: 1.912 MB / 0.7705 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.079, allocations: 3.453 kB / 0.7705 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.079, allocations: 2.484 kB / 0.7705 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/1.079, allocations: 173.9 kB / 0.7707 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/1.079, allocations: 13.53 kB / 0.7707 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/1.08, allocations: 28.92 kB / 0.7708 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.08, allocations: 47.58 kB / 0.7708 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002556/1.082, allocations: 1.196 MB / 0.772 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002123/1.084, allocations: 1.445 MB / 0.7734 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005553/1.085, allocations: 365.6 kB / 0.7737 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008146/1.086, allocations: 0.6232 MB / 0.7743 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of Backend: time 8.02e-07/1.086, allocations: 0 / 0.7743 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005485/1.091, allocations: 2.19 MB / 0.7765 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003913/1.095, allocations: 2.521 MB / 0.7789 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of Templates: time 0.06116/1.156, allocations: 36.13 MB / 0.8142 GB, free: 4.973 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1)