Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001126/0.001126, allocations: 100.8 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.001244/0.001244, allocations: 177.3 kB / 15.94 MB, free: 220 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.289/1.289, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2861/0.2861, allocations: 39.99 MB / 310.4 MB, free: 9.988 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.2. 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.0005724/0.0005725, allocations: 20 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1056, allocations: 57.96 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.3371/0.4428, allocations: 156.3 MB / 0.5792 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01706/0.4599, allocations: 14.22 MB / 0.5931 GB, free: 9.023 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.4611, allocations: 43.62 kB / 0.5931 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.4621, allocations: 370.1 kB / 0.5935 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.4679, allocations: 2.135 MB / 0.5955 GB, free: 6.492 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006307/0.4742, allocations: 2.51 MB / 0.598 GB, free: 4 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002479/0.4767, allocations: 1.553 MB / 0.5995 GB, free: 2.445 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.4778, allocations: 0.6143 MB / 0.6001 GB, free: 1.816 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.4798, allocations: 0.9621 MB / 0.601 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.4813, allocations: 0.8531 MB / 0.6019 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.4816, allocations: 52 kB / 0.6019 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005417/0.487, allocations: 2.625 MB / 0.6045 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000548/0.4876, allocations: 319.1 kB / 0.6048 GB, free: 13 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.488, allocations: 229.1 kB / 0.605 GB, free: 12.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.492, allocations: 2.354 MB / 0.6073 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.492, allocations: 0 / 0.6073 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.492, allocations: 0 / 0.6073 GB, free: 10.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.288e-05/0.4921, allocations: 3.938 kB / 0.6073 GB, free: 10.41 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.003892/0.496, allocations: 1.624 MB / 0.6089 GB, free: 8.734 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.496, allocations: 8.031 kB / 0.6089 GB, free: 8.727 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.4972, allocations: 198.6 kB / 0.6091 GB, free: 8.531 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.4985, allocations: 0.7187 MB / 0.6098 GB, free: 7.773 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/0.4986, allocations: 49.28 kB / 0.6099 GB, free: 7.723 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.4987, allocations: 67.97 kB / 0.6099 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.5005, allocations: 1.141 MB / 0.611 GB, free: 6.469 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.5005, allocations: 0 / 0.611 GB, free: 6.469 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5007, allocations: 31.97 kB / 0.6111 GB, free: 6.438 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.5008, allocations: 81.25 kB / 0.6111 GB, free: 6.359 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.5027, allocations: 1.176 MB / 0.6123 GB, free: 5.18 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.00705/0.5097, allocations: 4.382 MB / 0.6166 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.5111, allocations: 0.7953 MB / 0.6173 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.5115, allocations: 325.8 kB / 0.6177 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.5115, allocations: 50.81 kB / 0.6177 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005483/0.5121, allocations: 119.1 kB / 0.6178 GB, free: 15.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 3.106e-06/0.5121, allocations: 0 / 0.6178 GB, free: 15.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.006018/0.5181, allocations: 2.014 MB / 0.6198 GB, free: 13.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.728e-05/0.5182, allocations: 214.2 kB / 0.62 GB, free: 12.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.5194, allocations: 0.8729 MB / 0.6208 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.19e-05/0.5195, allocations: 41.7 kB / 0.6209 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.5198, allocations: 443.8 kB / 0.6213 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.52, allocations: 220.9 kB / 0.6215 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/0.52, allocations: 16 kB / 0.6215 GB, free: 11.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5202, allocations: 334 kB / 0.6218 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000657/0.5208, allocations: 397.8 kB / 0.6222 GB, free: 10.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007714/0.5216, allocations: 0.593 MB / 0.6228 GB, free: 9.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.5224, allocations: 494.9 kB / 0.6233 GB, free: 9.418 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5224, allocations: 0 / 0.6233 GB, free: 9.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002145/0.5245, allocations: 1.301 MB / 0.6246 GB, free: 8.105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006665/0.5252, allocations: 2.01 MB / 0.6265 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.5252, allocations: 7.938 kB / 0.6265 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004599/0.5298, allocations: 0.8456 MB / 0.6273 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.5305, allocations: 159.8 kB / 0.6275 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.5319, allocations: 1.184 MB / 0.6287 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/0.5328, allocations: 64 kB / 0.6287 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.5329, allocations: 67.98 kB / 0.6288 GB, free: 3.586 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.5329, allocations: 4 kB / 0.6288 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002179/0.5351, allocations: 1.105 MB / 0.6299 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5351, allocations: 4 kB / 0.6299 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/0.5358, allocations: 180.8 kB / 0.63 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.5365, allocations: 195.7 kB / 0.6302 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2291/0.7656, allocations: 2.211 MB / 0.6324 GB, free: 68.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009318/0.7666, allocations: 55.03 kB / 0.6324 GB, free: 68.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.7667, allocations: 70.16 kB / 0.6325 GB, free: 68.18 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.0004924/0.7672, allocations: 354 kB / 0.6328 GB, free: 67.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.7674, allocations: 101.7 kB / 0.6329 GB, free: 67.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.77, allocations: 1.379 MB / 0.6343 GB, free: 67.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.77, allocations: 8.094 kB / 0.6343 GB, free: 67.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.77, allocations: 0 / 0.6343 GB, free: 67.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.77, allocations: 2.578 kB / 0.6343 GB, free: 67.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.7725, allocations: 1.992 MB / 0.6362 GB, free: 67.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7725, allocations: 2.25 kB / 0.6362 GB, free: 67.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.7728, allocations: 80.02 kB / 0.6363 GB, free: 67.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002934/0.7757, allocations: 0.7018 MB / 0.637 GB, free: 67.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.7758, allocations: 25.89 kB / 0.637 GB, free: 67.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.7769, allocations: 1.175 MB / 0.6382 GB, free: 67.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7769, allocations: 0 / 0.6382 GB, free: 67.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.7784, allocations: 1.209 MB / 0.6394 GB, free: 66.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/0.7787, allocations: 190 kB / 0.6395 GB, free: 66.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.7788, allocations: 15.25 kB / 0.6396 GB, free: 66.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.7794, allocations: 52.2 kB / 0.6396 GB, free: 66.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/0.7795, allocations: 51.61 kB / 0.6397 GB, free: 66.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.7796, allocations: 46.2 kB / 0.6397 GB, free: 66.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006523/0.7802, allocations: 0.6158 MB / 0.6403 GB, free: 66.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.7802, allocations: 0 / 0.6403 GB, free: 66.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002192/0.7824, allocations: 1.043 MB / 0.6413 GB, free: 66.42 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.001732/0.7842, allocations: 0.9077 MB / 0.6422 GB, free: 66.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.7866, allocations: 1.582 MB / 0.6437 GB, free: 66.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7867, allocations: 3.75 kB / 0.6438 GB, free: 66.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006489/0.7873, allocations: 436.2 kB / 0.6442 GB, free: 66.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.7895, allocations: 0.5287 MB / 0.6447 GB, free: 66.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.7917, allocations: 1.936 MB / 0.6466 GB, free: 65.33 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.7922, allocations: 1.071 MB / 0.6476 GB, free: 64.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00159/0.7938, allocations: 464.6 kB / 0.6481 GB, free: 64.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.794, allocations: 103.7 kB / 0.6482 GB, free: 64.5 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.794, allocations: 0 / 0.6482 GB, free: 64.5 MB / 494.1 MB Notification: Performance of Templates: time 0.04241/0.8365, allocations: 32.06 MB / 0.6795 GB, free: 50.15 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1) Environment - environmentSimulation: