Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.TestJunctionVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001093, allocations: 90.83 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.009226/0.009226, allocations: 171.1 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.87/1.87, 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.3773/0.3773, allocations: 40 MB / 310.7 MB, free: 9.594 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.0005465/0.0005464, allocations: 12 kB / 379.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1439, allocations: 57.97 MB / 437.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.5703/0.7143, allocations: 206.1 MB / 0.6284 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.449/1.163, allocations: 14.05 MB / 0.6422 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/1.165, allocations: 46.25 kB / 0.6422 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/1.167, allocations: 404.2 kB / 0.6426 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01048/1.177, allocations: 2.807 MB / 0.6453 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01172/1.189, allocations: 2.845 MB / 0.6481 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006913/1.196, allocations: 4.655 MB / 0.6527 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/1.198, allocations: 0.6569 MB / 0.6533 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003697/1.202, allocations: 1.083 MB / 0.6544 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003567/1.205, allocations: 1.31 MB / 0.6556 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002983/1.206, allocations: 56.06 kB / 0.6557 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009716/1.215, allocations: 3.106 MB / 0.6587 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/1.217, allocations: 378.9 kB / 0.6591 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001595/1.218, allocations: 0.6093 MB / 0.6597 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01309/1.231, allocations: 3.638 MB / 0.6632 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.231, allocations: 0.7188 kB / 0.6632 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.206e-06/1.231, allocations: 0 / 0.6632 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.057e-05/1.232, allocations: 4.594 kB / 0.6632 GB, free: 17.22 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006514/1.238, allocations: 1.722 MB / 0.6649 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.71e-05/1.238, allocations: 13.59 kB / 0.6649 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/1.24, allocations: 218.5 kB / 0.6651 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/1.242, allocations: 0.8006 MB / 0.6659 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/1.242, allocations: 62.09 kB / 0.666 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/1.242, allocations: 71.88 kB / 0.666 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/1.245, allocations: 1.239 MB / 0.6673 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/1.245, allocations: 7.812 kB / 0.6673 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/1.245, allocations: 31.78 kB / 0.6673 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/1.245, allocations: 85.66 kB / 0.6674 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/1.248, allocations: 1.212 MB / 0.6686 GB, free: 15.66 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.009477/1.258, allocations: 4.886 MB / 0.6733 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/1.259, allocations: 0.7679 MB / 0.6741 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000757/1.26, allocations: 385.6 kB / 0.6745 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/1.261, allocations: 1.308 MB / 0.6757 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/1.262, allocations: 46.94 kB / 0.6758 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=68): time 3.266e-06/1.262, allocations: 0 / 0.6758 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73): time 0.00996/1.272, allocations: 2.809 MB / 0.6785 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.272, allocations: 215.9 kB / 0.6787 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/1.274, allocations: 0.9498 MB / 0.6797 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/1.274, allocations: 43.73 kB / 0.6797 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/1.274, allocations: 482.1 kB / 0.6802 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/1.275, allocations: 258.4 kB / 0.6804 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/1.275, allocations: 85.73 kB / 0.6805 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.275, allocations: 342.6 kB / 0.6808 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009288/1.276, allocations: 443.2 kB / 0.6812 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.277, allocations: 0.6794 MB / 0.6819 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/1.279, allocations: 1.096 MB / 0.683 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/1.279, allocations: 4 kB / 0.683 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003024/1.282, allocations: 1.489 MB / 0.6844 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003162/1.282, allocations: 271.6 kB / 0.6847 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/1.282, allocations: 11.22 kB / 0.6847 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003869/1.286, allocations: 0.7558 MB / 0.6854 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/1.287, allocations: 183.8 kB / 0.6856 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/1.289, allocations: 1.276 MB / 0.6868 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.29, allocations: 79.06 kB / 0.6869 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/1.29, allocations: 94.25 kB / 0.687 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.29, allocations: 3.375 kB / 0.687 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002315/1.293, allocations: 1.217 MB / 0.6882 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/1.293, allocations: 15.39 kB / 0.6882 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/1.294, allocations: 363 kB / 0.6886 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/1.295, allocations: 206.6 kB / 0.6888 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/1.296, allocations: 0.9792 MB / 0.6897 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/1.297, allocations: 62.3 kB / 0.6898 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/1.298, allocations: 96.28 kB / 0.6899 GB, free: 7.016 MB / 0.4981 GB 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 (91): * Single equations (assignments): 90 * 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 {(2,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0008783/1.298, allocations: 368.8 kB / 0.6902 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003798/1.299, allocations: 110.5 kB / 0.6903 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/1.302, allocations: 1.379 MB / 0.6917 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/1.302, allocations: 12.69 kB / 0.6917 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.302, allocations: 3.75 kB / 0.6917 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/1.302, allocations: 3.984 kB / 0.6917 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004414/1.307, allocations: 2.162 MB / 0.6938 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.307, allocations: 4.281 kB / 0.6938 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/1.307, allocations: 177.4 kB / 0.694 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/1.308, allocations: 28.88 kB / 0.694 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.782e-05/1.308, allocations: 35.33 kB / 0.694 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/1.309, allocations: 1.289 MB / 0.6953 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.309, allocations: 7.125 kB / 0.6953 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/1.312, allocations: 1.63 MB / 0.6969 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005767/1.312, allocations: 195.7 kB / 0.6971 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/1.313, allocations: 17.83 kB / 0.6971 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.314, allocations: 54.55 kB / 0.6972 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.314, allocations: 74.33 kB / 0.6972 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/1.314, allocations: 67.36 kB / 0.6973 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001187/1.315, allocations: 0.6674 MB / 0.6979 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.315, allocations: 0 / 0.6979 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00454/1.32, allocations: 1.08 MB / 0.699 GB, free: 3.188 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (junction.medium.p,junction.medium.T) * 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 (74): * Single equations (assignments): 73 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004194/1.324, allocations: 0.9943 MB / 0.7 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00381/1.328, allocations: 1.647 MB / 0.7016 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.328, allocations: 4 kB / 0.7016 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/1.329, allocations: 0.5697 MB / 0.7021 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/1.333, allocations: 0.6111 MB / 0.7027 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/1.338, allocations: 2.427 MB / 0.7051 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000774/1.338, allocations: 1.086 MB / 0.7062 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002652/1.341, allocations: 0.5907 MB / 0.7067 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/1.342, allocations: 162.4 kB / 0.7069 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of SimCode: time 1.663e-06/1.342, allocations: 4 kB / 0.7069 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of Templates: time 0.06679/1.409, allocations: 37.43 MB / 0.7434 GB, free: 7.594 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) Environment - environmentSimulation: