Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 116.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 79.86 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.348, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.5816/0.9297, allocations: 200.3 MB / 0.7273 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.9423, allocations: 10.96 MB / 0.738 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.9436, allocations: 37.48 kB / 0.738 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.9448, allocations: 441.8 kB / 0.7384 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006014/0.9508, allocations: 2.276 MB / 0.7407 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00858/0.9594, allocations: 3.212 MB / 0.7438 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004261/0.9637, allocations: 2.891 MB / 0.7466 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.965, allocations: 0.7602 MB / 0.7474 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.9674, allocations: 1.157 MB / 0.7485 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.9697, allocations: 1.231 MB / 0.7497 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.9699, allocations: 107.3 kB / 0.7498 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006622/0.9766, allocations: 2.608 MB / 0.7523 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005973/0.9772, allocations: 408.7 kB / 0.7527 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009661/0.9782, allocations: 0.593 MB / 0.7533 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006113/0.9843, allocations: 3.151 MB / 0.7564 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9843, allocations: 0 / 0.7564 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9843, allocations: 0.9375 kB / 0.7564 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.9843, allocations: 0 / 0.7564 GB, free: 1.328 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.003851/0.9882, allocations: 1.777 MB / 0.7581 GB, free: 16.41 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.9883, allocations: 8.375 kB / 0.7581 GB, free: 16.41 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.9894, allocations: 199.9 kB / 0.7583 GB, free: 16.36 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.9905, allocations: 0.7868 MB / 0.7591 GB, free: 16.05 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/0.9906, allocations: 50.05 kB / 0.7591 GB, free: 16.05 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.9907, allocations: 65.92 kB / 0.7592 GB, free: 16.04 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.9923, allocations: 1.16 MB / 0.7603 GB, free: 15.9 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.9924, allocations: 0 / 0.7603 GB, free: 15.9 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.9925, allocations: 27.91 kB / 0.7604 GB, free: 15.9 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.812e-05/0.9926, allocations: 87.48 kB / 0.7604 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.9942, allocations: 1.148 MB / 0.7616 GB, free: 15.88 MB / 0.5763 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.006316/1.001, allocations: 4.342 MB / 0.7658 GB, free: 14.04 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/1.002, allocations: 0.7676 MB / 0.7666 GB, free: 14.01 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/1.002, allocations: 373.4 kB / 0.7669 GB, free: 14 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/1.003, allocations: 353.2 kB / 0.7672 GB, free: 13.62 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/1.003, allocations: 44.42 kB / 0.7673 GB, free: 13.59 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004/1.003, allocations: 100.3 kB / 0.7674 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=61): time 2.895e-06/1.003, allocations: 4.172 kB / 0.7674 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of matching and sorting (n=61): time 0.0061/1.009, allocations: 2.037 MB / 0.7694 GB, free: 13.34 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/1.009, allocations: 216 kB / 0.7696 GB, free: 13.09 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/1.01, allocations: 0.8831 MB / 0.7704 GB, free: 12.93 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-05/1.011, allocations: 42.55 kB / 0.7705 GB, free: 12.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/1.011, allocations: 445.5 kB / 0.7709 GB, free: 12.72 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/1.011, allocations: 215.7 kB / 0.7711 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/1.011, allocations: 199.2 kB / 0.7713 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.012, allocations: 341.8 kB / 0.7716 GB, free: 12.25 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006935/1.012, allocations: 412.3 kB / 0.772 GB, free: 12.25 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007891/1.013, allocations: 0.6214 MB / 0.7726 GB, free: 12.01 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/1.014, allocations: 0.9855 MB / 0.7736 GB, free: 11.82 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/1.014, allocations: 0 / 0.7736 GB, free: 11.82 MB / 0.5763 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002183/1.017, allocations: 1.345 MB / 0.7749 GB, free: 11.72 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.017, allocations: 6.469 kB / 0.7749 GB, free: 11.72 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.017, allocations: 7.281 kB / 0.7749 GB, free: 11.72 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004739/1.021, allocations: 0.8387 MB / 0.7757 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/1.022, allocations: 170.3 kB / 0.7759 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/1.024, allocations: 1.195 MB / 0.7771 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007927/1.024, allocations: 44.11 kB / 0.7771 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/1.025, allocations: 72.97 kB / 0.7772 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009862/1.026, allocations: 0.5745 MB / 0.7777 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008009/1.026, allocations: 0.5972 MB / 0.7783 GB, free: 10.82 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001322/1.028, allocations: 0.9395 MB / 0.7792 GB, free: 10.61 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.698e-06/1.028, allocations: 0 / 0.7792 GB, free: 10.61 MB / 0.5763 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002327/1.03, allocations: 1.239 MB / 0.7805 GB, free: 10.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.03, allocations: 8.531 kB / 0.7805 GB, free: 10.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.03, allocations: 5.156 kB / 0.7805 GB, free: 10.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/1.031, allocations: 172.9 kB / 0.7806 GB, free: 10.49 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/1.031, allocations: 200.7 kB / 0.7808 GB, free: 10.49 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/1.034, allocations: 2.33 MB / 0.7831 GB, free: 9.121 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/1.035, allocations: 49.45 kB / 0.7831 GB, free: 9.117 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.035, allocations: 73.72 kB / 0.7832 GB, free: 9.117 MB / 0.5763 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.0003845/1.035, allocations: 228 kB / 0.7834 GB, free: 8.934 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/1.036, allocations: 99.75 kB / 0.7835 GB, free: 8.883 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/1.039, allocations: 1.908 MB / 0.7854 GB, free: 8.633 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/1.039, allocations: 7.922 kB / 0.7854 GB, free: 8.625 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.04, allocations: 0 / 0.7854 GB, free: 8.625 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/1.04, allocations: 172.2 kB / 0.7856 GB, free: 8.469 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/1.04, allocations: 12.03 kB / 0.7856 GB, free: 8.469 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/1.041, allocations: 33.94 kB / 0.7856 GB, free: 8.461 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.041, allocations: 49.41 kB / 0.7857 GB, free: 8.441 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002587/1.043, allocations: 1.191 MB / 0.7868 GB, free: 8.098 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002101/1.045, allocations: 1.428 MB / 0.7882 GB, free: 7.637 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006063/1.046, allocations: 368.1 kB / 0.7886 GB, free: 7.57 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0008598/1.047, allocations: 0.6258 MB / 0.7892 GB, free: 7.367 MB / 0.5763 GB Notification: Performance of Backend: time 4.21e-07/1.047, allocations: 1.094 kB / 0.7892 GB, free: 7.367 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.006868/1.054, allocations: 2.183 MB / 0.7913 GB, free: 6.41 MB / 0.5763 GB Notification: Performance of SimCode: time 0.003962/1.058, allocations: 2.491 MB / 0.7937 GB, free: 4.078 MB / 0.5763 GB Notification: Performance of Templates: time 0.05747/1.115, allocations: 36.7 MB / 0.8296 GB, free: 15.75 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1)