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.001091/0.001091, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 187.3 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 241 MB, free: 5.352 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.00288/0.00288, allocations: 0.5391 MB / 292.6 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 8 kB / 354 MB, free: 2.523 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3071, allocations: 50.57 MB / 404.5 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.4465/0.7536, allocations: 175.3 MB / 0.5662 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006095/0.7597, allocations: 3.317 MB / 0.5695 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.7609, allocations: 27.34 kB / 0.5695 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.7621, allocations: 357.2 kB / 0.5698 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004616/0.7667, allocations: 1.45 MB / 0.5712 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.7699, allocations: 1.001 MB / 0.5722 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004703/0.7746, allocations: 3.408 MB / 0.5756 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.7757, allocations: 0.5188 MB / 0.5761 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.7782, allocations: 0.8715 MB / 0.5769 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.78, allocations: 0.7659 MB / 0.5777 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.7802, allocations: 45.5 kB / 0.5777 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.7834, allocations: 0.9117 MB / 0.5786 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004201/0.7838, allocations: 289.1 kB / 0.5789 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000863/0.7847, allocations: 490 kB / 0.5793 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.7869, allocations: 1.258 MB / 0.5806 GB, free: 1.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7869, allocations: 0.5625 kB / 0.5806 GB, free: 1.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7869, allocations: 0 / 0.5806 GB, free: 1.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.7869, allocations: 1.062 kB / 0.5806 GB, free: 1.359 MB / 430.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.002747/0.7897, allocations: 1.106 MB / 0.5816 GB, free: 16.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.7897, allocations: 11.66 kB / 0.5817 GB, free: 16.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.7908, allocations: 164.4 kB / 0.5818 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.7917, allocations: 0.5599 MB / 0.5824 GB, free: 16.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.7919, allocations: 183.3 kB / 0.5825 GB, free: 16.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.792, allocations: 73.84 kB / 0.5826 GB, free: 16.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.7935, allocations: 1.095 MB / 0.5837 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.7935, allocations: 5.812 kB / 0.5837 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-05/0.7936, allocations: 34.97 kB / 0.5837 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.7937, allocations: 32.97 kB / 0.5837 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.7948, allocations: 0.7871 MB / 0.5845 GB, free: 15.94 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.0058/0.8006, allocations: 5.708 MB / 0.5901 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.8013, allocations: 390.2 kB / 0.5905 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.8016, allocations: 222.6 kB / 0.5907 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.8019, allocations: 260 kB / 0.5909 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.8019, allocations: 45.06 kB / 0.591 GB, free: 11.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.995e-06/0.8019, allocations: 0 / 0.591 GB, free: 11.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.007132/0.8091, allocations: 2.252 MB / 0.5932 GB, free: 11.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.8092, allocations: 112.7 kB / 0.5933 GB, free: 10.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/0.8099, allocations: 0.6878 MB / 0.5939 GB, free: 10.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.147e-05/0.81, allocations: 39.14 kB / 0.594 GB, free: 10.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.8104, allocations: 454.5 kB / 0.5944 GB, free: 10.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.8106, allocations: 212 kB / 0.5946 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.8107, allocations: 89.47 kB / 0.5947 GB, free: 10.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.8109, allocations: 387.9 kB / 0.5951 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.8114, allocations: 283 kB / 0.5953 GB, free: 9.973 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008342/0.8122, allocations: 0.764 MB / 0.5961 GB, free: 9.352 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01621/0.8284, allocations: 3.437 MB / 0.5994 GB, free: 8.547 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.8285, allocations: 3.438 kB / 0.5994 GB, free: 8.547 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002074/0.8306, allocations: 1.272 MB / 0.6007 GB, free: 8.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.8306, allocations: 9.625 kB / 0.6007 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.8306, allocations: 17.16 kB / 0.6007 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/0.8326, allocations: 476.7 kB / 0.6012 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.8331, allocations: 189.5 kB / 0.6013 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.8345, allocations: 1.118 MB / 0.6024 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008569/0.8353, allocations: 69.88 kB / 0.6025 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.8355, allocations: 94.84 kB / 0.6026 GB, free: 7.875 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.V2.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 (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,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005768/0.8361, allocations: 299 kB / 0.6029 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.8362, allocations: 80 kB / 0.603 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.8385, allocations: 1.204 MB / 0.6041 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.8386, allocations: 11.23 kB / 0.6041 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.8386, allocations: 2.688 kB / 0.6041 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.8386, allocations: 2.062 kB / 0.6041 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/0.8414, allocations: 1.969 MB / 0.6061 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8415, allocations: 7.453 kB / 0.6061 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.8418, allocations: 98.67 kB / 0.6062 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.8434, allocations: 301.7 kB / 0.6065 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/0.8434, allocations: 33.05 kB / 0.6065 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009738/0.8444, allocations: 0.8446 MB / 0.6073 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.8444, allocations: 6.906 kB / 0.6073 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.8463, allocations: 1.14 MB / 0.6084 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.8467, allocations: 222 kB / 0.6086 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.8469, allocations: 20.75 kB / 0.6087 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000511/0.8474, allocations: 43.59 kB / 0.6087 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/0.8475, allocations: 50.44 kB / 0.6088 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.4e-05/0.8476, allocations: 60.61 kB / 0.6088 GB, free: 5.594 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005505/0.8481, allocations: 474.2 kB / 0.6093 GB, free: 5.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8481, allocations: 0 / 0.6093 GB, free: 5.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001445/0.8496, allocations: 345.5 kB / 0.6096 GB, free: 5.402 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 (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 {(4,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/0.8506, allocations: 399.3 kB / 0.61 GB, free: 5.219 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.8521, allocations: 0.7923 MB / 0.6108 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.8521, allocations: 0 / 0.6108 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007109/0.8529, allocations: 341.8 kB / 0.6111 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.8551, allocations: 390.5 kB / 0.6115 GB, free: 4.914 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.8578, allocations: 2.039 MB / 0.6134 GB, free: 3.656 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.8584, allocations: 0.9825 MB / 0.6144 GB, free: 2.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/0.8589, allocations: 156.3 kB / 0.6146 GB, free: 2.801 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.8589, allocations: 0 / 0.6146 GB, free: 2.801 MB / 446.1 MB Notification: Performance of Templates: time 0.02592/0.8849, allocations: 18.25 MB / 0.6324 GB, free: 3.359 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)