Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 108.9 kB / 18.45 MB, free: 4.602 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.001194/0.001195, allocations: 183 kB / 19.38 MB, free: 3.68 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.338/1.338, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2149/0.2149, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 55.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3882, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.2356/0.6239, allocations: 200.1 MB / 0.715 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4147/1.039, allocations: 11.2 MB / 0.7259 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/1.041, allocations: 37.84 kB / 0.7259 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/1.042, allocations: 479.1 kB / 0.7264 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007903/1.05, allocations: 2.578 MB / 0.7289 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009629/1.06, allocations: 3.372 MB / 0.7322 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005345/1.065, allocations: 3.244 MB / 0.7354 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/1.067, allocations: 0.8034 MB / 0.7362 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/1.07, allocations: 1.291 MB / 0.7374 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/1.072, allocations: 1.307 MB / 0.7387 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00028/1.073, allocations: 115 kB / 0.7388 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007046/1.08, allocations: 2.819 MB / 0.7416 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007072/1.08, allocations: 430.1 kB / 0.742 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/1.082, allocations: 0.6401 MB / 0.7426 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008301/1.09, allocations: 3.397 MB / 0.7459 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.09, allocations: 5.516 kB / 0.7459 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/1.09, allocations: 3.188 kB / 0.7459 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.764e-05/1.09, allocations: 2.438 kB / 0.7459 GB, free: 1.426 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004507/1.094, allocations: 1.877 MB / 0.7477 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.095, allocations: 10.89 kB / 0.7478 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/1.096, allocations: 217.7 kB / 0.748 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/1.097, allocations: 0.8371 MB / 0.7488 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/1.097, allocations: 59.19 kB / 0.7488 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/1.098, allocations: 73.11 kB / 0.7489 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/1.1, allocations: 1.243 MB / 0.7501 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.1, allocations: 0 / 0.7501 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/1.1, allocations: 32.55 kB / 0.7502 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/1.1, allocations: 92.86 kB / 0.7502 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/1.102, allocations: 1.209 MB / 0.7514 GB, free: 15.89 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.007683/1.109, allocations: 4.827 MB / 0.7561 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/1.111, allocations: 0.7683 MB / 0.7569 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/1.111, allocations: 390 kB / 0.7573 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/1.112, allocations: 349.5 kB / 0.7576 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/1.112, allocations: 44.09 kB / 0.7576 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 3.326e-06/1.112, allocations: 0.9688 kB / 0.7576 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.007982/1.12, allocations: 2.795 MB / 0.7604 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.12, allocations: 217 kB / 0.7606 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.121, allocations: 0.9424 MB / 0.7615 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/1.121, allocations: 47.8 kB / 0.7615 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/1.122, allocations: 478.7 kB / 0.762 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/1.122, allocations: 259.4 kB / 0.7622 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/1.122, allocations: 231.6 kB / 0.7625 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.122, allocations: 352.8 kB / 0.7628 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007527/1.123, allocations: 437.5 kB / 0.7632 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000934/1.124, allocations: 0.683 MB / 0.7639 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/1.126, allocations: 1.082 MB / 0.7649 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.126, allocations: 6.406 kB / 0.7649 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002847/1.129, allocations: 1.486 MB / 0.7664 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/1.129, allocations: 8.328 kB / 0.7664 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.129, allocations: 6.281 kB / 0.7664 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00351/1.132, allocations: 0.726 MB / 0.7671 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/1.133, allocations: 183.9 kB / 0.7673 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/1.135, allocations: 1.289 MB / 0.7686 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009613/1.136, allocations: 44.48 kB / 0.7686 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/1.136, allocations: 92.19 kB / 0.7687 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00106/1.137, allocations: 0.6097 MB / 0.7693 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009602/1.138, allocations: 0.6628 MB / 0.7699 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001536/1.139, allocations: 1.022 MB / 0.7709 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.38e-06/1.139, allocations: 3.75 kB / 0.7709 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=120) (initialization_lambda0): time 0.002494/1.142, allocations: 1.331 MB / 0.7722 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.142, allocations: 9.547 kB / 0.7722 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.142, allocations: 8.312 kB / 0.7722 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/1.144, allocations: 378.8 kB / 0.7726 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/1.144, allocations: 209.7 kB / 0.7728 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/1.146, allocations: 0.983 MB / 0.7738 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.147, allocations: 47.67 kB / 0.7738 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/1.147, allocations: 89.22 kB / 0.7739 GB, free: 8.984 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (91): * Single equations (assignments): 90 * 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 {(2,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005202/1.147, allocations: 246.7 kB / 0.7741 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/1.148, allocations: 114.9 kB / 0.7742 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/1.151, allocations: 1.897 MB / 0.7761 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.151, allocations: 3.094 kB / 0.7761 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/1.151, allocations: 0 / 0.7761 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/1.152, allocations: 176.3 kB / 0.7763 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/1.152, allocations: 13.34 kB / 0.7763 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/1.152, allocations: 37.64 kB / 0.7763 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.152, allocations: 65.02 kB / 0.7764 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002032/1.154, allocations: 1.004 MB / 0.7774 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002595/1.157, allocations: 1.628 MB / 0.7789 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007135/1.158, allocations: 422.5 kB / 0.7794 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009356/1.159, allocations: 0.6532 MB / 0.78 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of Backend: time 4.71e-07/1.159, allocations: 0.8125 kB / 0.78 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006301/1.165, allocations: 2.287 MB / 0.7822 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004231/1.169, allocations: 2.544 MB / 0.7847 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of Templates: time 0.06442/1.234, allocations: 42.51 MB / 0.8262 GB, free: 12.03 MB / 0.6231 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)