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.001054/0.001054, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001414/0.001414, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3782/0.3782, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.0005939/0.000594, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1324, allocations: 57.51 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.4443/0.5768, allocations: 156.3 MB / 0.5764 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02067/0.5975, allocations: 14.24 MB / 0.5903 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.5988, allocations: 39.69 kB / 0.5903 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.6001, allocations: 366.1 kB / 0.5907 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00728/0.6074, allocations: 2.138 MB / 0.5928 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007622/0.615, allocations: 2.516 MB / 0.5952 GB, free: 8.402 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003472/0.6185, allocations: 1.549 MB / 0.5968 GB, free: 6.852 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.6197, allocations: 0.6107 MB / 0.5973 GB, free: 6.227 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.6218, allocations: 0.9505 MB / 0.5983 GB, free: 5.273 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.6232, allocations: 0.8647 MB / 0.5991 GB, free: 4.406 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.6234, allocations: 52 kB / 0.5992 GB, free: 4.355 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00599/0.6294, allocations: 2.625 MB / 0.6017 GB, free: 1.727 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007533/0.6302, allocations: 319.1 kB / 0.602 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005008/0.6307, allocations: 229.1 kB / 0.6023 GB, free: 1.184 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004893/0.6356, allocations: 2.356 MB / 0.6046 GB, free: 14.82 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6356, allocations: 3.938 kB / 0.6046 GB, free: 14.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6356, allocations: 0 / 0.6046 GB, free: 14.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.6357, allocations: 4 kB / 0.6046 GB, free: 14.82 MB / 478.1 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.004054/0.6397, allocations: 1.622 MB / 0.6061 GB, free: 13.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.6398, allocations: 12.02 kB / 0.6062 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.6409, allocations: 198.6 kB / 0.6063 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.6423, allocations: 0.7149 MB / 0.607 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.6423, allocations: 53.28 kB / 0.6071 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.6424, allocations: 63.98 kB / 0.6072 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.6443, allocations: 1.145 MB / 0.6083 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.6443, allocations: 0 / 0.6083 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.6444, allocations: 27.98 kB / 0.6083 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.6446, allocations: 85.27 kB / 0.6084 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.6465, allocations: 1.164 MB / 0.6095 GB, free: 9.598 MB / 478.1 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.007994/0.6545, allocations: 4.391 MB / 0.6138 GB, free: 4.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.656, allocations: 0.7854 MB / 0.6146 GB, free: 4.191 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/0.6564, allocations: 329.8 kB / 0.6149 GB, free: 3.812 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.6564, allocations: 47.08 kB / 0.6149 GB, free: 3.758 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007238/0.6571, allocations: 123.1 kB / 0.6151 GB, free: 3.637 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 4.839e-06/0.6572, allocations: 3.938 kB / 0.6151 GB, free: 3.633 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.006445/0.6636, allocations: 2.003 MB / 0.617 GB, free: 1.602 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.6638, allocations: 218.2 kB / 0.6172 GB, free: 1.336 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.6651, allocations: 0.8767 MB / 0.6181 GB, free: 444 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.6652, allocations: 41.7 kB / 0.6181 GB, free: 396 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.6656, allocations: 447.9 kB / 0.6185 GB, free: 15.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.6658, allocations: 212.9 kB / 0.6187 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.6659, allocations: 16 kB / 0.6188 GB, free: 15.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.666, allocations: 341.9 kB / 0.6191 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006747/0.6667, allocations: 389.7 kB / 0.6195 GB, free: 15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008845/0.6676, allocations: 0.597 MB / 0.62 GB, free: 14.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008337/0.6684, allocations: 482.9 kB / 0.6205 GB, free: 13.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6685, allocations: 3.938 kB / 0.6205 GB, free: 13.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002423/0.6709, allocations: 1.317 MB / 0.6218 GB, free: 12.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001091/0.672, allocations: 2.005 MB / 0.6238 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.672, allocations: 7.375 kB / 0.6238 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004756/0.6768, allocations: 0.8373 MB / 0.6246 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.6775, allocations: 163.7 kB / 0.6247 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.6789, allocations: 1.188 MB / 0.6259 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008673/0.6798, allocations: 59.89 kB / 0.6259 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.6799, allocations: 71.98 kB / 0.626 GB, free: 8.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.68, allocations: 4 kB / 0.626 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002251/0.6822, allocations: 1.101 MB / 0.6271 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6822, allocations: 4 kB / 0.6271 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006746/0.6829, allocations: 176.8 kB / 0.6273 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/0.6836, allocations: 195.7 kB / 0.6275 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/0.6864, allocations: 2.222 MB / 0.6296 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008077/0.6872, allocations: 55.95 kB / 0.6297 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.6873, allocations: 72.05 kB / 0.6297 GB, free: 4.043 MB / 494.1 MB 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 (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.0005603/0.6879, allocations: 352.8 kB / 0.6301 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.688, allocations: 102.8 kB / 0.6302 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/0.691, allocations: 1.377 MB / 0.6315 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.691, allocations: 4 kB / 0.6315 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.691, allocations: 0.875 kB / 0.6315 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.691, allocations: 7.984 kB / 0.6315 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.694, allocations: 1.991 MB / 0.6335 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.694, allocations: 4.031 kB / 0.6335 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.6943, allocations: 79.89 kB / 0.6336 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2413/0.9357, allocations: 0.7002 MB / 0.6342 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.9358, allocations: 27.98 kB / 0.6343 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.937, allocations: 1.165 MB / 0.6354 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.937, allocations: 2.297 kB / 0.6354 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.9389, allocations: 1.217 MB / 0.6366 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.9392, allocations: 181.8 kB / 0.6368 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.9393, allocations: 13.09 kB / 0.6368 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.9399, allocations: 54.45 kB / 0.6368 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.9401, allocations: 47.42 kB / 0.6369 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/0.9401, allocations: 46.39 kB / 0.6369 GB, free: 155.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007921/0.9409, allocations: 0.6186 MB / 0.6375 GB, free: 155.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9409, allocations: 0 / 0.6375 GB, free: 155.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002593/0.9435, allocations: 1.045 MB / 0.6386 GB, free: 155.1 MB / 494.1 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.002226/0.9458, allocations: 0.912 MB / 0.6394 GB, free: 155 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006436/0.9522, allocations: 1.579 MB / 0.641 GB, free: 154.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.651e-05/0.9524, allocations: 0 / 0.641 GB, free: 154.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.954, allocations: 430.8 kB / 0.6414 GB, free: 154.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/0.9587, allocations: 0.5403 MB / 0.6419 GB, free: 154.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/0.9629, allocations: 1.933 MB / 0.6438 GB, free: 154 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.9636, allocations: 1.072 MB / 0.6449 GB, free: 153.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002781/0.9664, allocations: 466.2 kB / 0.6453 GB, free: 153.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/0.9668, allocations: 106.2 kB / 0.6454 GB, free: 153.3 MB / 494.1 MB Notification: Performance of SimCode: time 9.91e-07/0.9669, allocations: 0 / 0.6454 GB, free: 153.3 MB / 494.1 MB Notification: Performance of Templates: time 0.08844/1.055, allocations: 32.06 MB / 0.6767 GB, free: 145.1 MB / 494.1 MB 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: