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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.005435/0.005435, allocations: 166.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.36/1.36, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001616/0.001616, allocations: 103.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4697/0.4697, allocations: 38.05 MB / 303.7 MB, free: 42.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005622/0.000562, allocations: 12 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.156, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.769/1.925, allocations: 0.6213 GB / 1.023 GB, free: 81.94 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/1.925, allocations: 85.61 kB / 1.023 GB, free: 81.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.485/3.41, allocations: 353.9 MB / 1.369 GB, free: 55.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/3.41, allocations: 0 / 1.369 GB, free: 55.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.734e-05/3.41, allocations: 33.61 kB / 1.369 GB, free: 55.39 MB / 442.7 MB 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.005469/3.415, allocations: 1.691 MB / 1.371 GB, free: 54.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/3.416, allocations: 10.91 kB / 1.371 GB, free: 54.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/3.417, allocations: 206.7 kB / 1.371 GB, free: 54.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/3.419, allocations: 0.8353 MB / 1.372 GB, free: 54.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/3.419, allocations: 56.7 kB / 1.372 GB, free: 54.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/3.419, allocations: 62.66 kB / 1.372 GB, free: 54.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/3.421, allocations: 1.149 MB / 1.373 GB, free: 53.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/3.421, allocations: 3.938 kB / 1.373 GB, free: 53.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/3.421, allocations: 31.2 kB / 1.373 GB, free: 53.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/3.421, allocations: 80.53 kB / 1.373 GB, free: 53.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/3.423, allocations: 1.157 MB / 1.374 GB, free: 53.83 MB / 442.7 MB 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.006947/3.43, allocations: 4.307 MB / 1.378 GB, free: 51.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/3.431, allocations: 0.7702 MB / 1.379 GB, free: 51.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/3.431, allocations: 328.5 kB / 1.379 GB, free: 51.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/3.431, allocations: 41.53 kB / 1.379 GB, free: 51.54 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007817/3.432, allocations: 114.4 kB / 1.38 GB, free: 51.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=61): time 4.208e-06/3.432, allocations: 0 / 1.38 GB, free: 51.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.006548/3.439, allocations: 2.032 MB / 1.382 GB, free: 50.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/3.439, allocations: 219.9 kB / 1.382 GB, free: 50.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/3.44, allocations: 0.7243 MB / 1.382 GB, free: 50.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-05/3.44, allocations: 38.92 kB / 1.382 GB, free: 50.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/3.44, allocations: 459.2 kB / 1.383 GB, free: 49.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/3.441, allocations: 219.2 kB / 1.383 GB, free: 49.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/3.441, allocations: 12 kB / 1.383 GB, free: 49.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/3.441, allocations: 340.6 kB / 1.383 GB, free: 49.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/3.441, allocations: 391.3 kB / 1.384 GB, free: 49.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007985/3.442, allocations: 0.6233 MB / 1.384 GB, free: 48.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007786/3.443, allocations: 480.5 kB / 1.385 GB, free: 48.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/3.443, allocations: 3.562 kB / 1.385 GB, free: 48.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002258/3.445, allocations: 1.302 MB / 1.386 GB, free: 48.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006605/3.446, allocations: 2.442 MB / 1.389 GB, free: 45.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/3.446, allocations: 7.781 kB / 1.389 GB, free: 45.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004847/3.451, allocations: 0.8307 MB / 1.389 GB, free: 45.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/3.452, allocations: 177.8 kB / 1.39 GB, free: 45.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/3.453, allocations: 1.191 MB / 1.391 GB, free: 44.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/3.454, allocations: 65.62 kB / 1.391 GB, free: 44.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/3.455, allocations: 71.05 kB / 1.391 GB, free: 44.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/3.455, allocations: 6.406 kB / 1.391 GB, free: 44.63 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002325/3.457, allocations: 1.112 MB / 1.392 GB, free: 44.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/3.457, allocations: 5.656 kB / 1.392 GB, free: 44.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007248/3.458, allocations: 164.1 kB / 1.392 GB, free: 44.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/3.458, allocations: 211.6 kB / 1.392 GB, free: 44.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/3.461, allocations: 2.208 MB / 1.394 GB, free: 42.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/3.462, allocations: 68.2 kB / 1.395 GB, free: 42.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/3.462, allocations: 69.59 kB / 1.395 GB, free: 42.44 MB / 442.7 MB 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 (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008775/3.463, allocations: 362.9 kB / 1.395 GB, free: 42.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/3.464, allocations: 91.06 kB / 1.395 GB, free: 42.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003147/3.467, allocations: 1.319 MB / 1.396 GB, free: 41.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/3.467, allocations: 8.656 kB / 1.396 GB, free: 41.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/3.467, allocations: 0 / 1.396 GB, free: 41.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/3.467, allocations: 3.516 kB / 1.396 GB, free: 41.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/3.47, allocations: 1.952 MB / 1.398 GB, free: 40.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/3.47, allocations: 0 / 1.398 GB, free: 40.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/3.471, allocations: 85.25 kB / 1.398 GB, free: 40.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/3.474, allocations: 0.6889 MB / 1.399 GB, free: 40.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.881e-05/3.474, allocations: 31.19 kB / 1.399 GB, free: 40.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/3.475, allocations: 1.178 MB / 1.4 GB, free: 39.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/3.475, allocations: 0 / 1.4 GB, free: 39.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/3.477, allocations: 1.185 MB / 1.401 GB, free: 39.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/3.478, allocations: 175.1 kB / 1.402 GB, free: 38.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002936/3.478, allocations: 12.72 kB / 1.402 GB, free: 38.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/3.479, allocations: 50.02 kB / 1.402 GB, free: 38.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/3.479, allocations: 52.88 kB / 1.402 GB, free: 38.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/3.479, allocations: 39.59 kB / 1.402 GB, free: 38.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001006/3.48, allocations: 0.5653 MB / 1.402 GB, free: 38.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/3.48, allocations: 0 / 1.402 GB, free: 38.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006125/3.486, allocations: 1.226 MB / 1.403 GB, free: 38.34 MB / 442.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.006956/3.493, allocations: 1.819 MB / 1.405 GB, free: 37.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003935/3.497, allocations: 1.565 MB / 1.407 GB, free: 37.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/3.497, allocations: 0 / 1.407 GB, free: 37.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008667/3.498, allocations: 427.5 kB / 1.407 GB, free: 37.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/3.501, allocations: 492.5 kB / 1.408 GB, free: 36.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/3.511, allocations: 3.664 MB / 1.411 GB, free: 35.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000993/3.512, allocations: 1.072 MB / 1.412 GB, free: 34.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002449/3.515, allocations: 456.2 kB / 1.413 GB, free: 34.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/3.515, allocations: 100.5 kB / 1.413 GB, free: 34.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.833e-06/3.515, allocations: 4 kB / 1.413 GB, free: 34.69 MB / 442.7 MB Notification: Performance of Templates: time 0.3721/3.887, allocations: 41.81 MB / 1.454 GB, free: 54.63 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (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)