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.001104/0.001104, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.001009/0.001009, allocations: 191.2 kB / 19.39 MB, free: 3.707 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.344/1.344, 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.1933/0.1933, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.41, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.2175/0.6275, allocations: 197.4 MB / 0.7123 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4467/1.074, allocations: 10.95 MB / 0.723 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/1.076, allocations: 36 kB / 0.723 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/1.078, allocations: 428.9 kB / 0.7234 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008531/1.087, allocations: 2.299 MB / 0.7257 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01108/1.098, allocations: 3.219 MB / 0.7288 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006852/1.105, allocations: 2.885 MB / 0.7317 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/1.107, allocations: 0.7776 MB / 0.7324 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/1.11, allocations: 1.155 MB / 0.7335 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/1.112, allocations: 1.239 MB / 0.7348 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/1.113, allocations: 106.4 kB / 0.7349 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005781/1.118, allocations: 2.591 MB / 0.7374 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005111/1.119, allocations: 402.8 kB / 0.7378 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/1.12, allocations: 0.59 MB / 0.7383 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006891/1.127, allocations: 3.148 MB / 0.7414 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.127, allocations: 0.6875 kB / 0.7414 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/1.127, allocations: 0 / 0.7414 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.449e-05/1.127, allocations: 0.7812 kB / 0.7414 GB, free: 1.504 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.004219/1.131, allocations: 1.825 MB / 0.7432 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.131, allocations: 11.84 kB / 0.7432 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/1.132, allocations: 207.6 kB / 0.7434 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/1.134, allocations: 0.7885 MB / 0.7442 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/1.134, allocations: 57.81 kB / 0.7442 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/1.134, allocations: 58.95 kB / 0.7443 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/1.136, allocations: 1.159 MB / 0.7454 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/1.136, allocations: 5.562 kB / 0.7454 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.136, allocations: 25.09 kB / 0.7455 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/1.136, allocations: 89.28 kB / 0.7455 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/1.138, allocations: 1.145 MB / 0.7467 GB, free: 16.01 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.007239/1.145, allocations: 4.367 MB / 0.7509 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/1.146, allocations: 0.7594 MB / 0.7517 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/1.147, allocations: 370.8 kB / 0.752 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/1.148, allocations: 359.3 kB / 0.7524 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/1.148, allocations: 38.97 kB / 0.7524 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006121/1.148, allocations: 107.9 kB / 0.7525 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 4.298e-06/1.148, allocations: 1.203 kB / 0.7525 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006225/1.154, allocations: 2.037 MB / 0.7545 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.155, allocations: 213.1 kB / 0.7547 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/1.156, allocations: 0.8907 MB / 0.7556 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.169e-05/1.156, allocations: 39.61 kB / 0.7556 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004215/1.156, allocations: 451.9 kB / 0.756 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/1.157, allocations: 228 kB / 0.7562 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003408/1.157, allocations: 199.7 kB / 0.7564 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.157, allocations: 335.4 kB / 0.7568 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007002/1.158, allocations: 419.2 kB / 0.7572 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008791/1.159, allocations: 0.6167 MB / 0.7578 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/1.16, allocations: 0.9868 MB / 0.7587 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/1.16, allocations: 2 kB / 0.7587 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002447/1.163, allocations: 1.348 MB / 0.76 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.163, allocations: 8.812 kB / 0.7601 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.163, allocations: 5.656 kB / 0.7601 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004615/1.167, allocations: 0.8445 MB / 0.7609 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/1.168, allocations: 162.1 kB / 0.761 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/1.17, allocations: 1.204 MB / 0.7622 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008777/1.171, allocations: 41.33 kB / 0.7623 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/1.171, allocations: 72.12 kB / 0.7623 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009775/1.172, allocations: 0.5707 MB / 0.7629 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008211/1.173, allocations: 0.5951 MB / 0.7635 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001452/1.174, allocations: 0.9401 MB / 0.7644 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.312e-06/1.174, allocations: 2.5 kB / 0.7644 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002497/1.177, allocations: 1.24 MB / 0.7656 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.177, allocations: 8.906 kB / 0.7656 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.177, allocations: 5.281 kB / 0.7656 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006796/1.177, allocations: 169.2 kB / 0.7658 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007505/1.178, allocations: 203 kB / 0.766 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/1.181, allocations: 2.33 MB / 0.7682 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000886/1.182, allocations: 46.47 kB / 0.7683 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/1.182, allocations: 71.41 kB / 0.7683 GB, free: 9.223 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.0004212/1.182, allocations: 233.4 kB / 0.7686 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/1.183, allocations: 107.7 kB / 0.7687 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/1.186, allocations: 1.903 MB / 0.7705 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.186, allocations: 4.984 kB / 0.7705 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/1.186, allocations: 1.094 kB / 0.7705 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/1.186, allocations: 179.6 kB / 0.7707 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/1.187, allocations: 15.39 kB / 0.7707 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/1.187, allocations: 28.94 kB / 0.7707 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.187, allocations: 46.91 kB / 0.7708 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002481/1.19, allocations: 1.195 MB / 0.772 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002071/1.192, allocations: 1.441 MB / 0.7734 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005854/1.192, allocations: 367 kB / 0.7737 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008613/1.193, allocations: 0.6238 MB / 0.7743 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of Backend: time 3.2e-07/1.193, allocations: 0 / 0.7743 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005629/1.199, allocations: 2.193 MB / 0.7765 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003811/1.203, allocations: 2.532 MB / 0.7789 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of Templates: time 0.06097/1.264, allocations: 36.13 MB / 0.8142 GB, free: 5.012 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)