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.001011/0.001011, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.01072/0.01072, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.895/1.895, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3705/0.3705, allocations: 40 MB / 310.7 MB, free: 9.527 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.0005424/0.0005424, allocations: 15.98 kB / 379.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.151, allocations: 57.95 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.5048/0.6558, allocations: 202.9 MB / 0.6253 GB, free: 8.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4586/1.114, allocations: 13.78 MB / 0.6387 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/1.116, allocations: 42.47 kB / 0.6388 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001952/1.118, allocations: 371.4 kB / 0.6391 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/1.129, allocations: 2.4 MB / 0.6415 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009788/1.139, allocations: 2.722 MB / 0.6441 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006889/1.146, allocations: 4.176 MB / 0.6482 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/1.148, allocations: 0.6396 MB / 0.6488 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003461/1.151, allocations: 0.9629 MB / 0.6498 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003411/1.154, allocations: 1.235 MB / 0.651 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002692/1.155, allocations: 51.69 kB / 0.651 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008114/1.163, allocations: 2.751 MB / 0.6537 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008197/1.164, allocations: 353.9 kB / 0.654 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002495/1.166, allocations: 0.5625 MB / 0.6546 GB, free: 17.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/1.178, allocations: 3.267 MB / 0.6578 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/1.178, allocations: 0 / 0.6578 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.076e-06/1.178, allocations: 0 / 0.6578 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.972e-05/1.178, allocations: 0 / 0.6578 GB, free: 17.35 MB / 0.4981 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.009312/1.188, allocations: 1.62 MB / 0.6594 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.748e-05/1.188, allocations: 14.06 kB / 0.6594 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/1.19, allocations: 200.8 kB / 0.6596 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003002/1.193, allocations: 0.7497 MB / 0.6603 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/1.193, allocations: 57.64 kB / 0.6604 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004376/1.194, allocations: 63.36 kB / 0.6604 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00371/1.197, allocations: 1.155 MB / 0.6616 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/1.197, allocations: 1.719 kB / 0.6616 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/1.198, allocations: 32.56 kB / 0.6616 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002338/1.198, allocations: 85.41 kB / 0.6617 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00346/1.201, allocations: 1.151 MB / 0.6628 GB, free: 15.89 MB / 0.4981 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.01132/1.213, allocations: 4.411 MB / 0.6671 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/1.215, allocations: 0.7651 MB / 0.6678 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/1.215, allocations: 377.2 kB / 0.6682 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001811/1.217, allocations: 1.313 MB / 0.6695 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/1.217, allocations: 43.5 kB / 0.6695 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001151/1.219, allocations: 129.7 kB / 0.6697 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 8.977e-06/1.219, allocations: 0 / 0.6697 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.007619/1.226, allocations: 2.039 MB / 0.6716 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/1.226, allocations: 212.8 kB / 0.6718 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002775/1.229, allocations: 0.8834 MB / 0.6727 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/1.229, allocations: 41.42 kB / 0.6727 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005758/1.23, allocations: 439 kB / 0.6732 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000346/1.23, allocations: 217.3 kB / 0.6734 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/1.231, allocations: 74.75 kB / 0.6734 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002052/1.231, allocations: 338.9 kB / 0.6738 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/1.232, allocations: 407.4 kB / 0.6742 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/1.233, allocations: 0.6204 MB / 0.6748 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/1.236, allocations: 0.9942 MB / 0.6757 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/1.236, allocations: 1.688 kB / 0.6757 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003596/1.239, allocations: 1.355 MB / 0.6771 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002824/1.24, allocations: 238.1 kB / 0.6773 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/1.24, allocations: 8.469 kB / 0.6773 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005352/1.245, allocations: 0.8598 MB / 0.6781 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/1.246, allocations: 162.7 kB / 0.6783 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/1.248, allocations: 1.195 MB / 0.6795 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/1.249, allocations: 54.88 kB / 0.6795 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/1.249, allocations: 71 kB / 0.6796 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.249, allocations: 10.53 kB / 0.6796 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002756/1.252, allocations: 1.111 MB / 0.6807 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/1.252, allocations: 5.281 kB / 0.6807 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007347/1.253, allocations: 173.5 kB / 0.6808 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/1.254, allocations: 204 kB / 0.681 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/1.257, allocations: 2.18 MB / 0.6832 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/1.258, allocations: 59.16 kB / 0.6832 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/1.258, allocations: 68.23 kB / 0.6833 GB, free: 7.965 MB / 0.4981 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.000908/1.259, allocations: 356.9 kB / 0.6836 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004597/1.26, allocations: 98.75 kB / 0.6837 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/1.263, allocations: 1.385 MB / 0.6851 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.263, allocations: 5.031 kB / 0.6851 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.263, allocations: 0 / 0.6851 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/1.263, allocations: 7.922 kB / 0.6851 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/1.268, allocations: 2.012 MB / 0.6871 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.268, allocations: 8.438 kB / 0.6871 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/1.268, allocations: 78.02 kB / 0.6871 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003835/1.272, allocations: 0.6907 MB / 0.6878 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.885e-05/1.272, allocations: 21.75 kB / 0.6878 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/1.274, allocations: 1.177 MB / 0.689 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/1.274, allocations: 2.969 kB / 0.689 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/1.276, allocations: 1.159 MB / 0.6901 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008299/1.277, allocations: 189.9 kB / 0.6903 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004847/1.278, allocations: 22.64 kB / 0.6903 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.279, allocations: 45.31 kB / 0.6904 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/1.279, allocations: 55.78 kB / 0.6904 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/1.279, allocations: 56.8 kB / 0.6905 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00173/1.281, allocations: 0.6286 MB / 0.6911 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.281, allocations: 0 / 0.6911 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00628/1.287, allocations: 1.043 MB / 0.6921 GB, free: 4.781 MB / 0.4981 GB 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 (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,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005704/1.293, allocations: 0.9184 MB / 0.693 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004429/1.297, allocations: 1.608 MB / 0.6946 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/1.297, allocations: 7.266 kB / 0.6946 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000931/1.298, allocations: 428.2 kB / 0.695 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/1.302, allocations: 0.5578 MB / 0.6955 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/1.307, allocations: 2.033 MB / 0.6975 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.308, allocations: 1.055 MB / 0.6985 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002552/1.311, allocations: 469.4 kB / 0.699 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/1.311, allocations: 99.23 kB / 0.6991 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of SimCode: time 2.625e-06/1.311, allocations: 4 kB / 0.6991 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of Templates: time 0.0643/1.375, allocations: 33.1 MB / 0.7314 GB, free: 368 kB / 0.5294 GB 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: