Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009841/0.0009843, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001032/0.001032, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.004665/0.004665, allocations: 0.543 MB / 291.6 MB, free: 1.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8 kB / 352.7 MB, free: 2.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 50.58 MB / 403.3 MB, free: 248 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.5034/0.6424, allocations: 163.7 MB / 0.5537 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005497/0.648, allocations: 3.156 MB / 0.5568 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007403/0.6487, allocations: 23.81 kB / 0.5568 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.6498, allocations: 330 kB / 0.5571 GB, free: 452 kB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.2755/0.9253, allocations: 1.368 MB / 0.5584 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.9288, allocations: 0.8811 MB / 0.5593 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004879/0.9337, allocations: 2.84 MB / 0.5621 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.935, allocations: 498.2 kB / 0.5625 GB, free: 5.238 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.9377, allocations: 0.8615 MB / 0.5634 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.9392, allocations: 0.7294 MB / 0.5641 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.9393, allocations: 40.91 kB / 0.5641 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.9413, allocations: 0.6847 MB / 0.5648 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.9417, allocations: 281.9 kB / 0.5651 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006749/0.9424, allocations: 198.8 kB / 0.5653 GB, free: 21.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.9438, allocations: 1.18 MB / 0.5664 GB, free: 21.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9438, allocations: 0 / 0.5664 GB, free: 21.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.9438, allocations: 0 / 0.5664 GB, free: 21.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.9439, allocations: 1.031 kB / 0.5664 GB, free: 21.12 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002015/0.9459, allocations: 1.115 MB / 0.5675 GB, free: 20.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.9459, allocations: 9.406 kB / 0.5675 GB, free: 20.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.9469, allocations: 169.7 kB / 0.5677 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009755/0.9479, allocations: 0.54 MB / 0.5682 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/0.9481, allocations: 189.7 kB / 0.5684 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.9483, allocations: 72.31 kB / 0.5684 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.9499, allocations: 1.081 MB / 0.5695 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.95, allocations: 5.188 kB / 0.5695 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/0.9501, allocations: 37.47 kB / 0.5695 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/0.9501, allocations: 38.69 kB / 0.5696 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.9513, allocations: 0.7783 MB / 0.5703 GB, free: 19.73 MB / 446.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.005778/0.9571, allocations: 5.702 MB / 0.5759 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.9578, allocations: 385.4 kB / 0.5763 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.9581, allocations: 218.8 kB / 0.5765 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.9583, allocations: 264 kB / 0.5767 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.9584, allocations: 47.62 kB / 0.5768 GB, free: 15.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 1.713e-06/0.9584, allocations: 2.906 kB / 0.5768 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006852/0.9652, allocations: 2.246 MB / 0.579 GB, free: 14.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/0.9654, allocations: 116.5 kB / 0.5791 GB, free: 14.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.9664, allocations: 0.6715 MB / 0.5797 GB, free: 14.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.9665, allocations: 37.5 kB / 0.5798 GB, free: 14.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.9669, allocations: 464.6 kB / 0.5802 GB, free: 14.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.9672, allocations: 211.5 kB / 0.5804 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.9672, allocations: 24.88 kB / 0.5804 GB, free: 14.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002446/0.9675, allocations: 387 kB / 0.5808 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.968, allocations: 275.2 kB / 0.5811 GB, free: 13.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.9687, allocations: 0.7639 MB / 0.5818 GB, free: 13.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/0.9808, allocations: 2.531 MB / 0.5843 GB, free: 12.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.9808, allocations: 9.719 kB / 0.5843 GB, free: 12.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002684/0.9835, allocations: 1.31 MB / 0.5856 GB, free: 12.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.9836, allocations: 11.19 kB / 0.5856 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.9836, allocations: 15.91 kB / 0.5856 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/0.9853, allocations: 482.1 kB / 0.5861 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.9858, allocations: 188.9 kB / 0.5863 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.9871, allocations: 1.111 MB / 0.5873 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007779/0.9879, allocations: 66.67 kB / 0.5874 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.988, allocations: 97.78 kB / 0.5875 GB, free: 12.3 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.V1.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005612/0.9886, allocations: 289.3 kB / 0.5878 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.9887, allocations: 79.59 kB / 0.5878 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.991, allocations: 1.212 MB / 0.589 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.991, allocations: 6.438 kB / 0.589 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.991, allocations: 0 / 0.589 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.991, allocations: 7.188 kB / 0.589 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.9937, allocations: 1.975 MB / 0.591 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.9937, allocations: 0 / 0.591 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.994, allocations: 95.55 kB / 0.5911 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.9953, allocations: 301.4 kB / 0.5914 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/0.9953, allocations: 28.09 kB / 0.5914 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008902/0.9962, allocations: 0.8562 MB / 0.5922 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.9963, allocations: 7.234 kB / 0.5922 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.9979, allocations: 1.126 MB / 0.5933 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/0.9983, allocations: 221.4 kB / 0.5935 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.9984, allocations: 19.33 kB / 0.5936 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.9988, allocations: 43.28 kB / 0.5936 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.9989, allocations: 51.05 kB / 0.5936 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.193e-05/0.999, allocations: 63.3 kB / 0.5937 GB, free: 10.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004916/0.9995, allocations: 462.4 kB / 0.5941 GB, free: 10.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9995, allocations: 0 / 0.5941 GB, free: 10.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001436/1.001, allocations: 341.1 kB / 0.5945 GB, free: 10.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.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 (44): * Single equations (assignments): 43 * 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 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008837/1.002, allocations: 391.2 kB / 0.5948 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/1.003, allocations: 0.7683 MB / 0.5956 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.003, allocations: 0 / 0.5956 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006059/1.004, allocations: 346.5 kB / 0.5959 GB, free: 10 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/1.005, allocations: 393.3 kB / 0.5963 GB, free: 9.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/1.008, allocations: 1.932 MB / 0.5982 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/1.008, allocations: 0.9911 MB / 0.5992 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001311/1.009, allocations: 0.5549 MB / 0.5997 GB, free: 8.211 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/1.01, allocations: 128.2 kB / 0.5998 GB, free: 8.188 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/1.01, allocations: 0 / 0.5998 GB, free: 8.188 MB / 446.1 MB Notification: Performance of Templates: time 0.02984/1.04, allocations: 20.02 MB / 0.6194 GB, free: 11.17 MB / 462.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)