Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="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_3.2.3_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_3.2.3_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.001464/0.001464, allocations: 109.4 kB / 17.09 MB, free: 5.934 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.001666/0.001666, allocations: 195.4 kB / 18.02 MB, free: 5.016 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.321/1.321, allocations: 205.1 MB / 223.9 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1979/0.1979, allocations: 43.53 MB / 314.8 MB, free: 440 kB / 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: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 65.47 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.1012, allocations: 57.8 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.4267/0.5279, allocations: 206.8 MB / 0.6905 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01665/0.5446, allocations: 13.39 MB / 0.7036 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009376/0.5456, allocations: 35.81 kB / 0.7036 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.547, allocations: 437.1 kB / 0.704 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006913/0.5539, allocations: 2.715 MB / 0.7067 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007212/0.5611, allocations: 3.214 MB / 0.7098 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003392/0.5645, allocations: 2.892 MB / 0.7126 GB, free: 4.844 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.5658, allocations: 0.7658 MB / 0.7134 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/0.568, allocations: 1.156 MB / 0.7145 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.5702, allocations: 1.235 MB / 0.7157 GB, free: 1.668 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000319/0.5705, allocations: 104 kB / 0.7158 GB, free: 1.566 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00624/0.5767, allocations: 2.972 MB / 0.7187 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005696/0.5773, allocations: 402.9 kB / 0.7191 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009864/0.5783, allocations: 0.591 MB / 0.7197 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006943/0.5853, allocations: 3.365 MB / 0.723 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5853, allocations: 0 / 0.723 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5853, allocations: 0 / 0.723 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.822e-05/0.5854, allocations: 3.938 kB / 0.723 GB, free: 10.22 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.004607/0.59, allocations: 1.892 MB / 0.7248 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.59, allocations: 11.89 kB / 0.7248 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.5913, allocations: 207.1 kB / 0.725 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.5928, allocations: 0.8085 MB / 0.7258 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.5929, allocations: 49.3 kB / 0.7259 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.593, allocations: 59.98 kB / 0.7259 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.595, allocations: 1.149 MB / 0.727 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.595, allocations: 11.92 kB / 0.727 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.5951, allocations: 27.98 kB / 0.7271 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.5952, allocations: 85.19 kB / 0.7272 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.5973, allocations: 1.137 MB / 0.7283 GB, free: 4.645 MB / 0.5606 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.007303/0.6046, allocations: 4.41 MB / 0.7326 GB, free: 12 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.606, allocations: 0.7587 MB / 0.7333 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006113/0.6066, allocations: 374.3 kB / 0.7337 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.6078, allocations: 1.296 MB / 0.7349 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.6078, allocations: 47.06 kB / 0.735 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003657/0.6082, allocations: 103.3 kB / 0.7351 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.767e-06/0.6082, allocations: 0 / 0.7351 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006219/0.6144, allocations: 2.014 MB / 0.737 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/0.6145, allocations: 222.2 kB / 0.7373 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.6156, allocations: 0.8807 MB / 0.7381 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.6157, allocations: 37.7 kB / 0.7382 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.6161, allocations: 453.4 kB / 0.7386 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.6162, allocations: 226 kB / 0.7388 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.6166, allocations: 198.5 kB / 0.739 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6167, allocations: 341.9 kB / 0.7393 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007261/0.6174, allocations: 416.6 kB / 0.7397 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008868/0.6183, allocations: 0.6125 MB / 0.7403 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.6199, allocations: 0.9842 MB / 0.7413 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6199, allocations: 0 / 0.7413 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00241/0.6223, allocations: 1.345 MB / 0.7426 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.6224, allocations: 10.5 kB / 0.7426 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.6224, allocations: 4 kB / 0.7426 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004919/0.6273, allocations: 0.86 MB / 0.7434 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.6279, allocations: 155.8 kB / 0.7436 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.6294, allocations: 1.188 MB / 0.7448 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007115/0.6302, allocations: 40.02 kB / 0.7448 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.6303, allocations: 77.36 kB / 0.7449 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009446/0.6313, allocations: 0.5721 MB / 0.7454 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008482/0.6321, allocations: 0.5954 MB / 0.746 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001454/0.6336, allocations: 0.9344 MB / 0.7469 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.084e-06/0.6336, allocations: 4 kB / 0.7469 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.00254/0.6361, allocations: 1.225 MB / 0.7481 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.6362, allocations: 12.12 kB / 0.7481 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.6362, allocations: 4.047 kB / 0.7481 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006927/0.6369, allocations: 172.7 kB / 0.7483 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/0.6376, allocations: 195.7 kB / 0.7485 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.6405, allocations: 2.334 MB / 0.7508 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007092/0.6412, allocations: 51.95 kB / 0.7508 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.6413, allocations: 67.92 kB / 0.7509 GB, free: 12.37 MB / 0.5919 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.0002762/0.6416, allocations: 228 kB / 0.7511 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.6418, allocations: 111.3 kB / 0.7512 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.6446, allocations: 1.374 MB / 0.7525 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.6446, allocations: 3.984 kB / 0.7525 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.6447, allocations: 4 kB / 0.7525 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.6449, allocations: 168.4 kB / 0.7527 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.645, allocations: 11.94 kB / 0.7527 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.6455, allocations: 35.97 kB / 0.7528 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.6457, allocations: 44.5 kB / 0.7528 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002645/0.6483, allocations: 1.198 MB / 0.754 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002206/0.6506, allocations: 1.429 MB / 0.7554 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006027/0.6512, allocations: 364.2 kB / 0.7557 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008027/0.652, allocations: 0.6283 MB / 0.7563 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of Backend: time 3.6e-07/0.652, allocations: 0 / 0.7563 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005646/0.6576, allocations: 2.308 MB / 0.7586 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003769/0.6614, allocations: 2.522 MB / 0.761 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of Templates: time 0.2538/0.9153, allocations: 37.36 MB / 0.7975 GB, free: 212.4 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1)