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.001396/0.001396, allocations: 108 kB / 15.61 MB, free: 152 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.00158/0.00158, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.003679/0.003679, allocations: 0.5701 MB / 290.9 MB, free: 1.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.84 kB / 351.5 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1198, allocations: 49.6 MB / 401.1 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.6806/0.8005, allocations: 179.3 MB / 0.5669 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005884/0.8064, allocations: 3.172 MB / 0.57 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009636/0.8074, allocations: 24 kB / 0.57 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.809, allocations: 406.7 kB / 0.5704 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00719/0.8163, allocations: 1.586 MB / 0.5719 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.8207, allocations: 1.116 MB / 0.573 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00574/0.8264, allocations: 2.39 MB / 0.5753 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.828, allocations: 0.593 MB / 0.5759 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.8307, allocations: 0.9821 MB / 0.5769 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.8327, allocations: 0.7403 MB / 0.5776 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004781/0.8332, allocations: 80.56 kB / 0.5777 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.8368, allocations: 0.973 MB / 0.5786 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005031/0.8373, allocations: 320.9 kB / 0.5789 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007938/0.8381, allocations: 496.8 kB / 0.5794 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.8408, allocations: 1.725 MB / 0.5811 GB, free: 1.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.8408, allocations: 0 / 0.5811 GB, free: 1.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.8409, allocations: 0 / 0.5811 GB, free: 1.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.8409, allocations: 0.9062 kB / 0.5811 GB, free: 1.254 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.002687/0.8436, allocations: 1.299 MB / 0.5824 GB, free: 16.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.8436, allocations: 13.92 kB / 0.5824 GB, free: 16.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.8446, allocations: 175.5 kB / 0.5825 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.8454, allocations: 0.5587 MB / 0.5831 GB, free: 16.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.8456, allocations: 179.8 kB / 0.5833 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.8457, allocations: 77.22 kB / 0.5833 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.8471, allocations: 1.094 MB / 0.5844 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.8471, allocations: 7.75 kB / 0.5844 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.8472, allocations: 30.94 kB / 0.5844 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/0.8472, allocations: 38.14 kB / 0.5845 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.8484, allocations: 0.7809 MB / 0.5852 GB, free: 15.83 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.00516/0.8535, allocations: 5.714 MB / 0.5908 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.8542, allocations: 397.1 kB / 0.5912 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.8545, allocations: 224 kB / 0.5914 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/0.8547, allocations: 260.6 kB / 0.5917 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.8548, allocations: 46.28 kB / 0.5917 GB, free: 11.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.044e-06/0.8548, allocations: 0 / 0.5917 GB, free: 11.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006598/0.8614, allocations: 2.251 MB / 0.5939 GB, free: 10.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.8615, allocations: 108.3 kB / 0.594 GB, free: 10.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/0.8622, allocations: 0.6778 MB / 0.5947 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.8623, allocations: 41.36 kB / 0.5947 GB, free: 10.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.8625, allocations: 462.8 kB / 0.5952 GB, free: 10.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.8627, allocations: 201.4 kB / 0.5953 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.863, allocations: 231.7 kB / 0.5956 GB, free: 10.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.8631, allocations: 390.1 kB / 0.5959 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.8635, allocations: 288.7 kB / 0.5962 GB, free: 9.891 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/0.8643, allocations: 0.7654 MB / 0.597 GB, free: 9.285 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01482/0.8791, allocations: 3.108 MB / 0.6 GB, free: 8.582 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.8792, allocations: 9.594 kB / 0.6 GB, free: 8.578 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001926/0.8811, allocations: 1.266 MB / 0.6012 GB, free: 8.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.8811, allocations: 11.38 kB / 0.6013 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.8812, allocations: 24.47 kB / 0.6013 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/0.8829, allocations: 464.7 kB / 0.6017 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.8834, allocations: 186.4 kB / 0.6019 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.8847, allocations: 1.114 MB / 0.603 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/0.8854, allocations: 42.58 kB / 0.603 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.8855, allocations: 95.44 kB / 0.6031 GB, free: 7.941 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 system: $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.0005013/0.886, allocations: 296 kB / 0.6034 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.8861, allocations: 85.48 kB / 0.6035 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.8885, allocations: 1.199 MB / 0.6046 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.8885, allocations: 10.05 kB / 0.6047 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8885, allocations: 1.062 kB / 0.6047 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.8885, allocations: 4.172 kB / 0.6047 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/0.8914, allocations: 1.979 MB / 0.6066 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.8915, allocations: 9.188 kB / 0.6066 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.8918, allocations: 91.34 kB / 0.6067 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.8931, allocations: 281.5 kB / 0.607 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.8932, allocations: 36.28 kB / 0.607 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008483/0.894, allocations: 0.8452 MB / 0.6078 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8941, allocations: 3.594 kB / 0.6078 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.8959, allocations: 1.128 MB / 0.6089 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.8962, allocations: 216.9 kB / 0.6091 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.8963, allocations: 17.17 kB / 0.6091 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.8968, allocations: 19.23 kB / 0.6092 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.8969, allocations: 57.64 kB / 0.6092 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/0.8969, allocations: 59.95 kB / 0.6093 GB, free: 5.992 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005196/0.8975, allocations: 475.9 kB / 0.6097 GB, free: 5.895 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8975, allocations: 0 / 0.6097 GB, free: 5.895 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001315/0.8988, allocations: 350.6 kB / 0.6101 GB, free: 5.871 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 {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009396/0.8998, allocations: 399.1 kB / 0.6104 GB, free: 5.723 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.9015, allocations: 0.8304 MB / 0.6113 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/0.9015, allocations: 10.73 kB / 0.6113 GB, free: 5.688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007566/0.9023, allocations: 339.6 kB / 0.6116 GB, free: 5.676 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.9041, allocations: 414.5 kB / 0.612 GB, free: 5.617 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.9065, allocations: 1.625 MB / 0.6136 GB, free: 4.902 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/0.907, allocations: 0.9897 MB / 0.6145 GB, free: 4.129 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001368/0.9084, allocations: 0.5684 MB / 0.6151 GB, free: 3.859 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.9088, allocations: 127.5 kB / 0.6152 GB, free: 3.824 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.9088, allocations: 0 / 0.6152 GB, free: 3.824 MB / 446.1 MB Notification: Performance of Templates: time 0.03511/0.9439, allocations: 21.62 MB / 0.6363 GB, free: 14.56 MB / 478.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)