Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008377/0.0008377, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006761/0.00676, allocations: 173 kB / 16.26 MB, free: 6.613 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.577/1.577, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3359/0.3359, allocations: 38.04 MB / 308.8 MB, free: 10.3 MB / 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005468/0.0005469, allocations: 15.98 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 57.52 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.4124/0.5321, allocations: 202.9 MB / 0.6225 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3219/0.8541, allocations: 13.79 MB / 0.636 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.8557, allocations: 40.97 kB / 0.636 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.8569, allocations: 373.9 kB / 0.6364 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007249/0.8642, allocations: 2.401 MB / 0.6387 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006929/0.8711, allocations: 2.711 MB / 0.6414 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004882/0.876, allocations: 4.18 MB / 0.6454 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.8772, allocations: 0.6375 MB / 0.6461 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.8791, allocations: 0.9656 MB / 0.647 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.8806, allocations: 1.238 MB / 0.6482 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.8808, allocations: 51.84 kB / 0.6483 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005045/0.8858, allocations: 2.75 MB / 0.6509 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004184/0.8863, allocations: 356.1 kB / 0.6513 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008583/0.8871, allocations: 0.5629 MB / 0.6518 GB, free: 17.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005929/0.8931, allocations: 3.27 MB / 0.655 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.8931, allocations: 0 / 0.655 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.855e-06/0.8931, allocations: 2.531 kB / 0.655 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.8931, allocations: 1.312 kB / 0.655 GB, free: 17.34 MB / 0.4981 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.003726/0.8969, allocations: 1.611 MB / 0.6566 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.8969, allocations: 14.94 kB / 0.6566 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.898, allocations: 203.3 kB / 0.6568 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.899, allocations: 0.7539 MB / 0.6575 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/0.8991, allocations: 50.91 kB / 0.6576 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.8992, allocations: 64.06 kB / 0.6577 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.901, allocations: 1.156 MB / 0.6588 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.901, allocations: 0.5938 kB / 0.6588 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-05/0.9011, allocations: 31.47 kB / 0.6588 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/0.9012, allocations: 82.77 kB / 0.6589 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.9032, allocations: 1.15 MB / 0.66 GB, free: 15.89 MB / 0.4981 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.006689/0.9099, allocations: 4.425 MB / 0.6643 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.9112, allocations: 0.7606 MB / 0.6651 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006167/0.9118, allocations: 374.8 kB / 0.6654 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/0.9131, allocations: 1.306 MB / 0.6667 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.9131, allocations: 43.05 kB / 0.6668 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006172/0.9137, allocations: 123.5 kB / 0.6669 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.925e-06/0.9137, allocations: 1.938 kB / 0.6669 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.006171/0.9199, allocations: 2.041 MB / 0.6689 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.9201, allocations: 215.2 kB / 0.6691 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.9215, allocations: 0.8847 MB / 0.6699 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.35e-05/0.9216, allocations: 37.14 kB / 0.67 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.9219, allocations: 448.2 kB / 0.6704 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.9222, allocations: 218.6 kB / 0.6706 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.9223, allocations: 70.38 kB / 0.6707 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.9225, allocations: 341.1 kB / 0.671 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000782/0.9233, allocations: 406.3 kB / 0.6714 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009168/0.9242, allocations: 0.6231 MB / 0.672 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.9259, allocations: 0.9941 MB / 0.673 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.9259, allocations: 2 kB / 0.673 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002846/0.9288, allocations: 1.353 MB / 0.6743 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.929, allocations: 243.6 kB / 0.6745 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.929, allocations: 6.422 kB / 0.6745 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004811/0.9338, allocations: 0.8517 MB / 0.6754 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.9345, allocations: 160 kB / 0.6755 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.936, allocations: 1.2 MB / 0.6767 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.937, allocations: 57.16 kB / 0.6767 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.9372, allocations: 68.17 kB / 0.6768 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.9372, allocations: 3.906 kB / 0.6768 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002171/0.9394, allocations: 1.116 MB / 0.6779 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.9394, allocations: 8.625 kB / 0.6779 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006427/0.94, allocations: 178.6 kB / 0.6781 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006631/0.9407, allocations: 194.4 kB / 0.6783 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.943, allocations: 2.181 MB / 0.6804 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009532/0.944, allocations: 54.33 kB / 0.6804 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.9441, allocations: 71.52 kB / 0.6805 GB, free: 8.449 MB / 0.4981 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.0006161/0.9448, allocations: 350.6 kB / 0.6808 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.945, allocations: 105.2 kB / 0.6809 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.9481, allocations: 1.379 MB / 0.6823 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.9481, allocations: 7.422 kB / 0.6823 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.9481, allocations: 3.781 kB / 0.6823 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.9481, allocations: 3.984 kB / 0.6823 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/0.9511, allocations: 2.015 MB / 0.6843 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.9511, allocations: 6.844 kB / 0.6843 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.9514, allocations: 82.12 kB / 0.6844 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003336/0.9548, allocations: 0.6978 MB / 0.685 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/0.9549, allocations: 33.67 kB / 0.6851 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.9561, allocations: 1.174 MB / 0.6862 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.9561, allocations: 2 kB / 0.6862 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.9579, allocations: 1.155 MB / 0.6874 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.9583, allocations: 192.3 kB / 0.6875 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.9586, allocations: 13.12 kB / 0.6875 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007203/0.9593, allocations: 46.08 kB / 0.6876 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.9594, allocations: 62.27 kB / 0.6877 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/0.9595, allocations: 49.02 kB / 0.6877 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009369/0.9605, allocations: 0.6261 MB / 0.6883 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9605, allocations: 0 / 0.6883 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003329/0.9638, allocations: 1.048 MB / 0.6893 GB, free: 5.258 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (37): * Single equations (assignments): 36 * 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,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003088/0.9669, allocations: 0.9049 MB / 0.6902 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002997/0.9699, allocations: 1.608 MB / 0.6918 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.9699, allocations: 0 / 0.6918 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000712/0.9707, allocations: 435.5 kB / 0.6922 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.9738, allocations: 0.5576 MB / 0.6927 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.9773, allocations: 2.045 MB / 0.6947 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007075/0.9781, allocations: 1.055 MB / 0.6958 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001976/0.98, allocations: 469.2 kB / 0.6962 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.9804, allocations: 105.5 kB / 0.6963 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of SimCode: time 9.31e-07/0.9804, allocations: 3.75 kB / 0.6963 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of Templates: time 0.0528/1.033, allocations: 33.08 MB / 0.7286 GB, free: 1.957 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1) Environment - environmentSimulation: